From 171a790b0bb8d4f36ea9cd1e156ec309fc307c4f Mon Sep 17 00:00:00 2001 From: Brandon Myers Date: Wed, 4 Apr 2018 10:10:14 -0500 Subject: [PATCH] Update nginx config to use off for access log --- config/nginx.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/nginx.conf b/config/nginx.conf index 12df95d3..724607ab 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -56,7 +56,7 @@ http { ## loginput service 8080, 8443 ssl ### server { - access_log /dev/null main; + access_log off; error_log /var/log/mozdef/nginx/nginx.error_log notice; listen 8080; @@ -78,7 +78,7 @@ http { ## rest service on 8444 ssl ### server { - access_log /dev/null main; + access_log off; error_log /var/log/mozdef/nginx/nginx.rest.error_log notice; listen 8444 ssl; @@ -96,8 +96,8 @@ http { ## ssl version of elastic search ## server{ - listen *:9000 ssl; - access_log /dev/null main; + listen *:9000 ssl; + access_log off; location /{ proxy_pass http://127.0.0.1:9200; @@ -108,7 +108,7 @@ http { ## ssl proxy for meteor ## server{ listen *:443 ssl; - access_log /dev/null main; + access_log off; location /{ proxy_pass http://127.0.0.1:3000; @@ -121,7 +121,7 @@ http { listen *:9090; listen *:9443 ssl; server_name localhost; - access_log /dev/null main; + access_log off; error_log /var/log/mozdef/nginx/nginx.kibana.error_log notice; location /{