Skip to content
Permalink
Browse files

Use ltsv

  • Loading branch information...
takonomura committed Sep 8, 2019
1 parent afae438 commit d61dfc20b5f0e5a2f0c618e0a048e22d3ec0df7b
Showing with 16 additions and 1 deletion.
  1. +16 −1 isu01/nginx.conf
@@ -20,7 +20,22 @@ http {
keepalive_timeout 120;
client_max_body_size 10m;

access_log /var/log/nginx/access.log;
log_format ltsv "time:$time_local"
"\thost:$remote_addr"
"\tforwardedfor:$http_x_forwarded_for"
"\treq:$request"
"\tstatus:$status"
"\tmethod:$request_method"
"\turi:$request_uri"
"\tsize:$body_bytes_sent"
"\treferer:$http_referer"
"\tua:$http_user_agent"
"\treqtime:$request_time"
"\tcache:$upstream_http_x_cache"
"\truntime:$upstream_http_x_runtime"
"\tapptime:$upstream_response_time"
"\tvhost:$host";
access_log /var/log/nginx/access.log ltsv;

# TLS configuration
ssl_protocols TLSv1.2;

0 comments on commit d61dfc2

Please sign in to comment.
You can’t perform that action at this time.