SUPPORT-8890. nginx.conf edited: $upstream_addr added to access.log

This commit is contained in:
alashkova 2025-01-31 15:06:42 +03:00
parent 37b95a4dae
commit 12c0768034

View file

@ -16,7 +16,7 @@ include /etc/nginx/conf-enabled.d/*.conf;
http {
log_format req_time '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" $request_time';
'"$http_user_agent" "$http_x_forwarded_for" $request_time "$upstream_addr"';
access_log /var/log/nginx/access.log req_time;
proxy_temp_path /var/spool/nginx/tmp/proxy;
fastcgi_temp_path /var/spool/nginx/tmp/fastcgi;