August 2017
Intermediate to advanced
278 pages
8h 53m
English
If you're running a virtual host style environment (with multiple server blocks) with NGINX, there's one small tweak you can make to enhance the logs. By default, the host (defined as $host) isn't logged when using the default combined format. Having this field in the logs means that the log can be parsed externally without the need for additional information.
Read now
Unlock full access