Re: Web site not working on port redirection

2019-05-10 Thread Francis Daly
On Fri, May 10, 2019 at 12:31:43PM -0400, cox123456a wrote: Hi there, > I really need a way to bring 80 to 8000 and make it work. I've not used it; but you could try "absolute_redirect off" (http://nginx.org/r/absolute_redirect) and see if your clients are happy with the response from that. Ins

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

Re: Web site not working on port redirection

2019-05-10 Thread Francis Daly
On Fri, May 10, 2019 at 07:57:14AM -0400, cox123456a wrote: Hi there, > When I click to change the module (from admin to analytics, for example), > I'm loosing the port number: > http://170.180.190.200:8000/admin => http://170.180.190.200/analytics (Page > breaks as the port is missing) You can

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