Hello everyone,
I am using NGINX 0.6.32 for sometime without any trouble.
I use reverse proxy to Jboss and Jboss portal and everything is working fine but I also have to reverse proxy to an IIS server and it is not working as expected.
If I use an internal connection everything works as expected (In intranet I don't use nginx). But I can't see the page if I use an internet connection. The URL is shown correctly but I get http error 404. I don't understand why this happening. In both cases the URL shown is OK, equal and correct (http://newsletters.siag.pt/FrameWork/Pages/AccessDenied.aspx)
I will would much appreciate any help. I can attach two screenshots (from internet and from intranet) if needed.
Here is my simple nginx.conf relevant configuration:
server {
listen 192.168.0.221:80;
server_name newsletters.siag.pt;
access_log logs/host.access.log main;
location = / {
access_log on;
proxy_pass http://192.168.1.184:80/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}