DEVOPS-1974 real IP in nginx log

This commit is contained in:
Pavel Zilke 2025-03-12 17:06:42 +03:00
parent bc7a317290
commit 045ce1ae2c

View file

@ -1,5 +1,5 @@
log_format nginx_main
'$remote_addr - $remote_user [$time_local] $request '
'$http_x_real_ip - $remote_user [$time_local] $request '
'"$status" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" '
'"$request_filename" "$gzip_ratio" $upstream_response_time server: $host : $document_root $fastcgi_script_name ';