Re: How to log virtual server name

2013-08-07 Thread B.R.
Hello, On Wed, Aug 7, 2013 at 3:09 PM, Roger Pack wrote: > seems for me that any of these work for showing the virtual host (for > followers). > > $http_host $host $server_name > > ​The Nginx docs specifies different content for those 3 variables. The $http_host is a subset of the possible valu

Re: How to log virtual server name

2013-08-07 Thread Roger Pack
seems for me that any of these work for showing the virtual host (for followers). $http_host $host $server_name I just had to uncomment this line for it to 'take', oddly: #access_log logs/access.log main; @nginx dev guys: it would be nice if the default config either mentioned that both