ssh-tunnel into website nginx strips out port number in response

jwxie nginx-forum at nginx.us
Sat May 26 07:02:16 UTC 2012


So I came up with a simple solution...as my own answer...

proxy_set_header Host $host;

$host should be replaced with $http_host, although I am not quite sure
the meaning of either.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,226823,226849#msg-226849



More information about the nginx mailing list