What’s the difference of $host and $http_host in Nginx
$host is a variable of the Core module. $host This variable is equal to line Host in the header of request or name of the server processing the request if the Host header is not available. This variable may have a different value from $http_host in such cases: 1) when the Host input header is … Read more