Created
March 6, 2012 18:55
-
-
Save adamchal/1988173 to your computer and use it in GitHub Desktop.
Nginx Collapsing Empty Variables in Access Log
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
log_format main | |
'$server_name' | |
' $msec' | |
' $remote_addr' | |
' $http_user_agent' | |
' $cookie_uid' | |
' $cookie_sid' | |
' $cookie_lis' | |
' $cookie_ffs' | |
' $device_map' | |
' $request_method' | |
' $host' | |
' $uri' | |
' $args' | |
' $http_referer' | |
' $request_length' | |
' $gzip_ratio' | |
' $status' | |
' $request_time' | |
' $bytes_sent' | |
' $upstream_addr' | |
' $upstream_cache_status' | |
' $upstream_response_time'; | |
access_log /var/log/nginx/access.log | |
main; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment