From b156ac73930e9c1ea308214079eaf981d8b8f83d Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 6 Jan 2020 04:12:06 +0900 Subject: [PATCH] Disable nginx logging to respect user privacy --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index a7e2646..58ac0b7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -18,8 +18,8 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log; + access_log off; + error_log off; gzip on; gzip_comp_level 5;