Blob Blame History Raw
diff -up conf/nginx.conf.orig conf/nginx.conf
--- conf/nginx.conf.orig	2008-02-28 13:44:16.000000000 -0700
+++ conf/nginx.conf	2009-08-02 20:21:53.000000000 -0600
@@ -1,12 +1,11 @@
-
-#user  nobody;
+user  nginx;
 worker_processes  1;
 
-#error_log  logs/error.log;
-#error_log  logs/error.log  notice;
-#error_log  logs/error.log  info;
+error_log   /var/log/nginx/error.log;
+#error_log  /var/log/nginx/error.log  notice;
+#error_log  /var/log/nginx/error.log  info;
 
-#pid        logs/nginx.pid;
+pid        /var/run/nginx.pid;
 
 
 events {
@@ -15,14 +14,14 @@ events {
 
 
 http {
-    include       mime.types;
+    include       /etc/nginx/mime.types;
     default_type  application/octet-stream;
 
-    #log_format  main  '$remote_addr - $remote_user [$time_local] $request '
-    #                  '"$status" $body_bytes_sent "$http_referer" '
-    #                  '"$http_user_agent" "$http_x_forwarded_for"';
+    log_format  main  '$remote_addr - $remote_user [$time_local] $request '
+                      '"$status" $body_bytes_sent "$http_referer" '
+                      '"$http_user_agent" "$http_x_forwarded_for"';
 
-    #access_log  logs/access.log  main;
+    access_log  /var/log/nginx/logs/access.log  main;
 
     sendfile        on;
     #tcp_nopush     on;
@@ -38,7 +37,7 @@ http {
 
         #charset koi8-r;
 
-        #access_log  logs/host.access.log  main;
+        #access_log  /var/log/nginx/host.access.log  main;
 
         location / {
             root   html;
@@ -114,5 +113,4 @@ http {
     #        index  index.html index.htm;
     #    }
     #}
-
 }