From 6b230b8026cc00065972961d411db504e56a3cf3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Patryk=20Szczyg=C5=82owski?= Date: Mon, 6 Mar 2017 21:31:46 +0100 Subject: [PATCH] - fix the combined log format --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.44.0