Browse Source

Stopped Nginx access logging by dancer and web-simple

tfb 12 years ago
parent
commit
09706dcea4
2 changed files with 8 additions and 6 deletions
  1. 4 3
      dancer/nginx.conf
  2. 4 3
      web-simple/nginx.conf

+ 4 - 3
dancer/nginx.conf

@@ -1,4 +1,4 @@
-user USR;
+user tfb;
 error_log /dev/null crit;
 
 worker_processes 2;
@@ -11,13 +11,15 @@ http {
   output_buffers   1 32k;
   postpone_output  1460;
 
+  access_log       off;
+
   sendfile         on;
   tcp_nopush       on;
 
   tcp_nodelay      on;
 
   upstream backendurl {
-    server unix:/home/ubuntu/FrameworkBenchmarks/dancer/frameworks-benchmark.sock;
+    server unix:/home/tfb/FrameworkBenchmarks/dancer/frameworks-benchmark.sock;
   }
 
   server {
@@ -26,7 +28,6 @@ http {
 
     location / {
       try_files $uri @proxy;
-      access_log off;
       expires max;
     }
 

+ 4 - 3
web-simple/nginx.conf

@@ -1,4 +1,4 @@
-user USR;
+user tfb;
 error_log /dev/null crit;
 
 worker_processes 2;
@@ -11,13 +11,15 @@ http {
   output_buffers   1 32k;
   postpone_output  1460;
 
+  access_log       off;
+
   sendfile         on;
   tcp_nopush       on;
 
   tcp_nodelay      on;
 
   upstream backendurl {
-    server unix:/home/ubuntu/FrameworkBenchmarks/web-simple/frameworks-benchmark.sock;
+    server unix:/home/tfb/FrameworkBenchmarks/web-simple/frameworks-benchmark.sock;
   }
 
   server {
@@ -26,7 +28,6 @@ http {
 
     location / {
       try_files $uri @proxy;
-      access_log off;
       expires max;
     }