atom feed2 messages in ru.sysoev.nginxRedirecting without canonicalizing th...
FromSent OnAttachments
Yang ZhangDec 16, 2010 3:57 pm 
Yang ZhangDec 16, 2010 4:05 pm 
Subject:Redirecting without canonicalizing the port
From:Yang Zhang (yang@gmail.com)
Date:Dec 16, 2010 3:57:53 pm
List:ru.sysoev.nginx

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.