diff --git a/nginx/nginx-ssl.conf.template b/nginx/nginx-ssl.conf.template index c630bf01..d27dbf3d 100644 --- a/nginx/nginx-ssl.conf.template +++ b/nginx/nginx-ssl.conf.template @@ -3,7 +3,7 @@ worker_processes 1; # Change this if running outside docker! user root root; pid /tmp/nginx.pid; -error_log /tmp/nginx.error.log; +error_log /dev/null; events { worker_connections 1024; # increase if you have lots of clients @@ -16,7 +16,7 @@ http { # fallback in case we can't determine a type default_type application/octet-stream; - access_log /tmp/nginx.access.log combined; + access_log off; sendfile on; upstream app_server { diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index a2b2699a..9495d096 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -3,7 +3,7 @@ worker_processes 1; # Change this if running outside docker! user root root; pid /tmp/nginx.pid; -error_log /tmp/nginx.error.log; +error_log /dev/null; events { worker_connections 1024; # increase if you have lots of clients @@ -16,7 +16,7 @@ http { # fallback in case we can't determine a type default_type application/octet-stream; - access_log /tmp/nginx.access.log combined; + access_log off; sendfile on; upstream app_server {