16. September 2016 19:34, "Francis Daly" <francis@daoine.org> schrieb: > * Since you already rewrite all requests that do not end in /; if you can > confirm that your clients send the name:port in the Host header that > they send, then you could change the rewrite destination to explicitly > include that: > > rewrite ^(.*[^/])$ http://$http_host$1/ permanent; >by Gurken2108 - Nginx Mailing List - English
Hello, during the conversion of my web servers at home I ran into some problems. We are running more than one web servers at home and a few ports are open in the router for them. So the standard ports (80, 443) are blocked for other server in our network. One NGINX Server listens on port 80, and our router routes port 8081 from outside to port 80 locally. On any rewrite NGINX strips the port fromby Gurken2108 - Nginx Mailing List - English
Hello together, I want to keep the ServerName and Port dynamicly on my rewrite: Lets say the Firewall redirect port 8081 to 80. So, if i access the webserver for example with "192.168.1.123/frontend" or "my.domain.tld:8081/frontend" i should be redirect to "192.168.1.123/frontend/" or "my.domain.tld:8081/frontend/" If i use the normal redirect rewriteby Gurken2108 - How to...
![]() |
![]() |
![]() |
![]() |
|