X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cfaf23fefee30983bd314e0fdc6b9c9db7a65102..4b2f73dff92965cc6f7a180a622f1f90bebc921f:/config/nginx.conf diff --git a/config/nginx.conf b/config/nginx.conf index 1f94ee9d7..b9055c2d3 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -7,8 +7,7 @@ worker_processes 2; # Define PID files pid /var/run/nginx.pid; -# Define log files -access_log /var/log/nginx/access.log; +# Define error log error_log /var/log/nginx/error.log; events { @@ -26,6 +25,9 @@ http { keepalive_timeout 65; tcp_nodelay on; + # Define access log + access_log /var/log/nginx/access.log; + # Configure compression (text/html is compressed by default) gzip on; gzip_min_length 1100;