summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/nginx.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 24b138f3..454953ff 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -72,11 +72,12 @@ http {
# maintained by certbot-ocsp-fetcher
ssl_stapling_file ocsp-cache/grapheneos.org.der;
- log_format main '$connection $remote_addr $remote_user $ssl_protocol $server_protocol '
+ log_format main '$connection-$connection_requests $remote_addr $remote_user $ssl_protocol $server_protocol '
'$host $request_method "$request_uri" $status $request_length $body_bytes_sent/$bytes_sent '
'$request_time $upstream_connect_time/$upstream_header_time/$upstream_response_time '
- '"$http_referer" "$http_user_agent"';
+ '$upstream_cache_status "$http_referer" "$http_user_agent"';
access_log syslog:server=unix:/dev/log,nohostname main;
+ log_subrequest on;
log_not_found off;
gzip_proxied any;