1
0
Fork 0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-05-26 09:26:16 +02:00

Improve logging

Currently its almost impossible to know which host actually handled the request, this extra variable logs the upstream server too
This commit is contained in:
Scott Dutton 2021-06-09 20:51:08 +01:00 committed by GitHub
parent d9d7a3354d
commit 9f069a42ac
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,8 @@ gzip_types text/plain text/css application/javascript application/json applicati
log_format vhost '$host $remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"';
'"$http_referer" "$http_user_agent" '
'"$upstream_addr"';
access_log off;