diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-09-28 19:52:15 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-09-28 19:52:15 +0200 |
commit | d88448b3c96d1a884b4de41e62c59c5e1776acc1 (patch) | |
tree | f797f4a62f569fe154f543335e4278a13ed0060b | |
parent | afc7e2f187c657c9c74ccda0d2f78c21f4041678 (diff) | |
download | deployment-d88448b3c96d1a884b4de41e62c59c5e1776acc1.tar.gz deployment-d88448b3c96d1a884b4de41e62c59c5e1776acc1.tar.bz2 deployment-d88448b3c96d1a884b4de41e62c59c5e1776acc1.zip |
actually set log format
-rw-r--r-- | etc/nginx/nginx.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index c578ba0..732400e 100644 --- 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; ## |