Welcome! Log In Create A New Profile

Advanced

nginx reverse proxy javascript issue ?

Posted by vincentf 
nginx reverse proxy javascript issue ?
April 12, 2013 07:58PM
Hi,

I'm using nginx as a reverse proxy and the website behind is running apache2, I'm trying to access a simple web page containing a link to a javascript hosted on another site, just like this simple code:

<HTML><TITLE>test meteo</TITLE><HEAD></HEAD>
<BODY><div>
<SCRIPT LANGUAGE="JavaScript" charset="UTF-8" SRC="http://france.meteofrance.com/portlet/plugins/meteo/VignetteMeteoVille3.javascript?idLieu=382720" TYPE="text/javascript"></SCRIPT>
</div></BODY></HTML>

Each time loading the page trought the nginx reverse proxy I've got a blank page, but If I'm directly load the webpage from the apache, it's loading correctly and I've got the wethear forecast.

Here is the simple conf for the nginx server:
server {
listen 443 default ssl;
server_name test01.test.net;

ssl on;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
#ssl_session_timeout 5m;
#ssl_protocols SSLv2 SSLv3 TLSv1;
#ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
#ssl_prefer_server_ciphers on;

location / {
proxy_pass http://192.168.7.22/;
}
}

Please help me, I'm really stuck on that simple issue.
Regards,
Vincent
[resolved] Re: nginx reverse proxy javascript issue ?
April 15, 2013 12:08PM
A browser parameter was different fron test 1 and test 2.
Javascript were blocked.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready