From e4f6cec53694563d14f80404d788b5e3bd152684 Mon Sep 17 00:00:00 2001 From: Eric Pfeiffer Date: Tue, 26 Jul 2016 12:53:26 -0500 Subject: [PATCH] fix nginx to actually log to files. --- nginx/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 1b566087..cc7fa68e 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -19,8 +19,8 @@ http { client_max_body_size 20M; include /etc/nginx/mime.types; default_type application/octet-stream; - access_log /dev/stdout; - error_log /dev/stderr; + access_log /var/log/nginx/access.log; + error_log /var/log/nginx/error.log; gzip on; gzip_disable "msie6"; include /etc/nginx/conf.d/*.conf;