SUPPORT-8890. nginx.conf edited: $upstream_addr added to access.log
This commit is contained in:
parent
37b95a4dae
commit
12c0768034
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue