meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sw:nginx:revproxy [2024/12/19 08:09] niziaksw:nginx:revproxy [2024/12/19 08:51] (current) niziak
Line 7: Line 7:
 From: [[https://serverfault.com/questions/706438/what-is-the-difference-between-nginx-variables-host-http-host-and-server-na|What is the difference between Nginx variables $host, $http_host, and $server_name?]] From: [[https://serverfault.com/questions/706438/what-is-the-difference-between-nginx-variables-host-http-host-and-server-na|What is the difference between Nginx variables $host, $http_host, and $server_name?]]
  
-You should almost always use ''$host'', as it's the only one guaranteed to have something sensible regardless of how the user-agent behaves, unless you specifically need the semantics of one of the other variables.+**You should almost always use** ''$host'', as it's the only one guaranteed to have something sensible regardless of how the user-agent behaves, unless you specifically need the semantics of one of the other variables.
  
 The difference is explained in the nginx documentation: The difference is explained in the nginx documentation: