[packages/nginx] - fix the combined log format
psz
psz at pld-linux.org
Mon Mar 6 21:32:04 CET 2017
commit 6b230b8026cc00065972961d411db504e56a3cf3
Author: Patryk Szczygłowski <patryk at patryk.net>
Date: Mon Mar 6 21:31:46 2017 +0100
- 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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nginx.git/commitdiff/6b230b8026cc00065972961d411db504e56a3cf3
More information about the pld-cvs-commit
mailing list