Created
August 18, 2020 15:04
-
-
Save d-shimizu/b9b6ba69a8c4223e7644766f32e4e3fa to your computer and use it in GitHub Desktop.
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 ltsv "time:$time_local" | |
"\thost:$remote_addr" | |
"\turi:$request_uri" | |
"\tmethod:$request_method" | |
"\tforwardedfor:$http_x_forwarded_for" | |
"\treq:$request" | |
"\tstatus:$status" | |
"\tsize:$body_bytes_sent" | |
"\treferer:$http_referer" | |
"\tua:$http_user_agent" | |
"\treqtime:$request_time" | |
"\tcache:$upstream_http_x_cache" | |
"\truntime:$upstream_http_x_runtime" | |
"\tvhost:$host"; | |
access_log /var/log/nginx/access.log.ltsv ltsv; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment