Created
September 29, 2021 09:14
-
-
Save zx1986/8dd3bbe998e5fd71fcdc10dccec61732 to your computer and use it in GitHub Desktop.
Nginx log format
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 '"$time_local" client=$remote_addr ' | |
'host=$host ' | |
'method=$request_method request="$request" ' | |
'request_length=$request_length ' | |
'status=$status bytes_sent=$bytes_sent ' | |
'body_bytes_sent=$body_bytes_sent ' | |
'referer=$http_referer ' | |
'user_agent="$http_user_agent" ' | |
'upstream_addr=$upstream_addr ' | |
'upstream_status=$upstream_status ' | |
'request_time=$request_time ' | |
'upstream_response_time=$upstream_response_time ' | |
'upstream_connect_time=$upstream_connect_time ' | |
'upstream_header_time=$upstream_header_time'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/28476643/default-nginx-client-max-body-size