DEVOPS-1974 real IP in nginx log
This commit is contained in:
parent
bc7a317290
commit
045ce1ae2c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue