commit d88448b3c96d1a884b4de41e62c59c5e1776acc1 parent afc7e2f187c657c9c74ccda0d2f78c21f4041678 Author: Florian Dold <florian.dold@gmail.com> Date: Wed, 28 Sep 2016 19:52:15 +0200 actually set log format Diffstat:
| M | etc/nginx/nginx.conf | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf @@ -30,11 +30,11 @@ http { # Logging Settings ## - log_format main '$remote_addr - $remote_user [$time_local] $http_host ' + log_format main '$remote_addr - $remote_user [$time_local] $host ' '"$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent"'; - access_log /var/log/nginx/access.log; + access_log /var/log/nginx/access.log main; error_log /var/log/nginx/error.log; ##