update logging

Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
2026-08-25 15:29:51 +02:00
parent 7d3bcf15fe
commit e841048d1c
+6 -2
View File
@@ -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;