Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

nginx reverse proxy javascript issue ?

$
0
0
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

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>