How to log virtual server name
Roger Pack
lists at ruby-forum.com
Wed Aug 7 19:09:11 UTC 2013
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 log_format and access_log (commented out) lines need
to be uncommented to take, or for them both to start uncommented
out...to avoid this confusion for others in the future...
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list