From 4b2f73dff92965cc6f7a180a622f1f90bebc921f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 20 Apr 2009 17:00:52 +0000 Subject: [PATCH] Move access_log configuration. --- config/nginx.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.39.5