Welcome! Log In Create A New Profile

Advanced

Redirecting without canonicalizing the port

Yang Zhang
December 16, 2010 07:02PM
Can I redirect to a URL that uses the port number in the request, as
opposed to the port specified in `listen`? (so as to work with
proxies/tunnels)

E.g., if I have `listen 444` and have a tunnel so that my client is
surfing http://localhost:4444, I don't want my redirects to send the
client to http://localhost:444, which is currently the case - I want
the port number to be reflected back, not "canonicalized."

Thanks in advance for any hints.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Redirecting without canonicalizing the port

Yang Zhang December 16, 2010 07:02PM

Re: Redirecting without canonicalizing the port

Yang Zhang December 16, 2010 07:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 296
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready