Created
December 11, 2016 22:16
-
-
Save mnordhoff/9c6316e57e982e18238c534407c14d2f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map $host $host_or_hyphen { | |
default $host; | |
"" -; | |
} | |
log_format lighttpd | |
'$remote_addr $host_or_hyphen $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" "$http_user_agent"'; | |
access_log /var/log/nginx/access.log lighttpd; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment