Web site not working on port redirection
cox123456a
nginx-forum at forum.nginx.org
Fri May 10 16:31:43 UTC 2019
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 use
a high numbered port (8000). Sounds strange but that's my scenario.
I really need a way to bring 80 to 8000 and make it work.
Repair that NGINX seens to knowsthat the request is coming from port 8000 (I
can see in the logs and my print of window.location shows it), I just need a
way to optionally include it in the redirected address. Some log events when
navigating:
190.254.100.100 - - [10/May/2019:09:53:29 -0300] "POST /graphql HTTP/1.1"
200 1372895 "http://190.80.200.100:8000/admin/running" "Mozilla/5.0
(Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/74.0.3729.131 Safari/537.36"
190.254.100.100 - - [10/May/2019:09:53:59 -0300] "POST /graphql HTTP/1.1"
200 1386 "http://190.80.200.100:8000/admin/orders" "Mozilla/5.0 (Macintosh;
Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/74.0.3729.131 Safari/537.36"
190.254.100.100 - - [10/May/2019:09:54:00 -0300] "POST /graphql HTTP/1.1"
200 191740 "http://190.80.200.100:8000/admin/orders" "Mozilla/5.0
(Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/74.0.3729.131 Safari/537.36"
205.185.100.100 - - [10/May/2019:10:12:12 -0300] "GET / HTTP/1.1" 200 580
"http://190.80.200.100:8000/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows
NT 6.1; Trident/6.0)"
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,284120,284122#msg-284122
More information about the nginx
mailing list