Re: Web site not working on port redirection

2019-05-10 Thread cox123456a
Added port 8000: listen 8000 default_server; Unfortunatelly It does not work. Same behaviour I'm out of ideas... Posted at Nginx Forum: https://forum.nginx.org/read.php?2,284120,284124#msg-284124 ___ nginx mailing list nginx@nginx.org http://mail

Re: Web site not working on port redirection

2019-05-10 Thread cox123456a
Hi Francis, Thanks for the detailed explanation. I agree with your diagnostic. In fact I've tried to listen on port 8000 and it works properly. The problem is that I cannot let this port open on LAN, just 80 due to security requirements. And port 80 cannot be opened to the internet, so I need to

Web site not working on port redirection

2019-05-10 Thread cox123456a
I've post this on SO but no solution after weeks, so I think here I have a better chance as this is being critical to myself. I have the following NGINX setup: server { listen 80 default_server; root /var/www/serviceserver1; index index.html index.htm; location /api { prox