Re: port redirection issue while using ssh tunnel

2013-07-23 Thread Adrien Saladin
Hi again, I found the problem: I had `proxy_set_headerHost $host;` in the configuration file. If I replace this line by `proxy_set_headerHost $http_host;` the port is now correctly set on http 302. Regards, > Hi list, > > I have a web app proxied by nginx. Everything works

port redirection issue while using ssh tunnel

2013-07-23 Thread Adrien Saladin
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 n