Today I found out that $host
and $http_host
differ. At least $host
doesn't contain the port number. Although there's more to it. My understanding is that people usually do proxy_set_header Host $host
, which is... wrong? Is there some sort of general guideline?