Browse Source

update: perf nginx access log format

master
Dnomd343 2 years ago
parent
commit
4b9909002a
  1. 3
      nginx/nginx.conf

3
nginx/nginx.conf

@ -10,6 +10,9 @@ events {
}
http {
log_format access '[$time_iso8601] $remote_addr -> $scheme://$host - "$request"'
' -> ($status) $request_length $bytes_sent {$http_user_agent}';
access_log /var/log/nginx/access.log access;
include /etc/nginx/mime.types;
include /etc/nginx/kms.conf;
}

Loading…
Cancel
Save