Browse Source

Disable more nginx logging.

Michael Hixson 12 years ago
parent
commit
7640930bda
1 changed files with 2 additions and 0 deletions
  1. 2 0
      php-silex/deploy/nginx_raw.conf

+ 2 - 0
php-silex/deploy/nginx_raw.conf

@@ -4,6 +4,7 @@ worker_processes  8;
 #error_log  logs/error.log;
 #error_log  logs/error.log  notice;
 #error_log  logs/error.log  info;
+error_log /dev/null crit;
 
 #pid        logs/nginx.pid;
 
@@ -22,6 +23,7 @@ http {
     #                  '"$http_user_agent" "$http_x_forwarded_for"';
 
     #access_log  logs/access.log  main;
+    access_log off;
 
     sendfile        on;
     #tcp_nopush     on;