Nginx - when tunnel the url redirects without port number
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.
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.