summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx/nginx.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index ad00fd68..201a66a8 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -64,8 +64,8 @@ http {
# maintained by certbot-ocsp-fetcher
ssl_stapling_file ocsp-cache/grapheneos.org.der;
- log_format main '$remote_addr - $remote_user [$time_local] '
- '"$request_method $scheme://$host$request_uri $server_protocol" $status $body_bytes_sent '
+ log_format main '$connection $remote_addr $remote_user $ssl_protocol $server_protocol '
+ '$host "$request_uri" $status $request_length $body_bytes_sent/$bytes_sent '
'"$http_referer" "$http_user_agent"';
access_log syslog:server=unix:/dev/log,nohostname main;
error_log syslog:server=unix:/dev/log,nohostname;