소스 검색

Merge pull request #1659 from exussum12/patch-1

Improve logging
Nicolas Duchon 4 년 전
부모
커밋
eb00b066de
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      nginx.tmpl

+ 2 - 1
nginx.tmpl

@@ -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;