port redirection issue while using ssh tunnel
Adrien Saladin
adrien.saladin at gmail.com
Tue Jul 23 10:49:23 UTC 2013
Hi again,
I found the problem: I had `proxy_set_header Host $host;` in
the configuration file.
If I replace this line by `proxy_set_header Host
$http_host;` the port is now correctly set on http 302.
Regards,
> Hi list,
>
> I have a web app proxied by nginx. Everything works fine locally.
> However the web server is on our private network and I would like to
> access it though a ssh tunnel from the outside.
> Most operations works fine except when the web app returns a 302
> redirection. In that case it seems that nginx removes the http port
> (detailed issue below).
More information about the nginx
mailing list