From: Patryk Szczygłowski Date: Mon, 6 Mar 2017 20:31:46 +0000 (+0100) Subject: - fix the combined log format X-Git-Tag: auto/th/nginx-1.11.12-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fnginx.git;a=commitdiff_plain;h=6b230b8 - fix the combined log format --- diff --git a/nginx.conf b/nginx.conf index 8ab1a0f..974a9b3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,8 +16,8 @@ events { } http { - log_format main '$remote_addr - $remote_user [$time_local] $request ' - '"$status" $body_bytes_sent "$http_referer" ' + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main;