diff --git a/nginx.conf b/nginx.conf index c4e184c..ffb11d9 100644 --- a/nginx.conf +++ b/nginx.conf @@ -26,7 +26,8 @@ http { # # access_log logs/access.log main; - log_format upstreamlog '[$time_local] $remote_addr to: $upstream_addr: $request upstream_response_time $upstream_response_time msec $msec request_time $request_time'; + + log_format upstreamlog '[$time_local] $remote_addr - $remote_user "$host$request_uri" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" Proxy: "$proxy_host" "$upstream_addr"'; access_log /var/log/nginx/access.log upstreamlog;