소스 검색

Disabling Nginx access logging from kelp and mojolicious

tfb 11 년 전
부모
커밋
fc68db4fc2
2개의 변경된 파일8개의 추가작업 그리고 6개의 파일을 삭제
  1. 4 3
      kelp/nginx.conf
  2. 4 3
      mojolicious/nginx.conf

+ 4 - 3
kelp/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/kelp/frameworks-benchmark.sock;
+    server unix:/home/tfb/FrameworkBenchmarks/kelp/frameworks-benchmark.sock;
   }
 
   server {
@@ -26,7 +28,6 @@ http {
 
     location / {
       try_files $uri @proxy;
-      access_log off;
       expires max;
     }
 

+ 4 - 3
mojolicious/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/mojolicious/frameworks-benchmark.sock;
+    server unix:/home/tfb/FrameworkBenchmarks/mojolicious/frameworks-benchmark.sock;
   }
 
   server {
@@ -26,7 +28,6 @@ http {
 
     location / {
       try_files $uri @proxy;
-      access_log off;
       expires max;
     }