From e841048d1c8b210981b68c26fc06aabeffc09781 Mon Sep 17 00:00:00 2001 From: Basil Bruhn Date: Tue, 25 Aug 2026 15:29:51 +0200 Subject: [PATCH] update logging Signed-off-by: Basil Bruhn --- nginx.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index bfb970c..8a00b50 100644 --- a/nginx.conf +++ b/nginx.conf @@ -17,8 +17,12 @@ http { add_header Referrer-Policy no-referrer-when-downgrade; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for" ' + 'proxy_host="$proxy_host" upstream="$upstream_addr" ' + 'upstream_status="$upstream_status" ' + 'upstream_time="$upstream_response_time" ' + 'request_time="$request_time"'; access_log /var/log/nginx/access.log main;