Last active
May 27, 2021 10:49
-
-
Save bennadel/12fae7450b41fc257ff558a9815f4fcf to your computer and use it in GitHub Desktop.
Including Tracing Headers In Nginx 1.18.0 Access Logs Using Custom Formatting
This file contains 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 combined '$remote_addr - $remote_user [$time_local] ' | |
'"$request" $status $body_bytes_sent ' | |
'"$http_referer" "$http_user_agent"'; |
This file contains 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 with_request_tracing '$remote_addr - $remote_user [$time_local] ' | |
'"$request" $status $body_bytes_sent ' | |
'"$http_referer" "$http_user_agent"' | |
' - "$http_request_id"'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment