diff --git a/examples/nginx.conf b/examples/nginx.conf index b06cccf8..405290b1 100644 --- a/examples/nginx.conf +++ b/examples/nginx.conf @@ -2,8 +2,8 @@ worker_processes 1; user nobody nogroup; # 'user nobody nobody;' for systems with 'nobody' as a group instead -pid /tmp/nginx.pid; -error_log /tmp/nginx.error.log; +error_log /var/log/nginx/error.log warn; +pid /var/run/nginx.pid; events { worker_connections 1024; # increase if you have lots of clients @@ -16,7 +16,7 @@ http { include mime.types; # fallback in case we can't determine a type default_type application/octet-stream; - access_log /tmp/nginx.access.log combined; + access_log /var/log/nginx/access.log combined; sendfile on; upstream app_server {