Commits

Hector Garcia committed a4505b8

Added log to /dev/null for www redirections, changed log filenames.

  • Participants
  • Parent commits 26221f3

Comments (0)

Files changed (1)

File conf/nginx/nbskel.com

     listen 80;
     server_name www.nbskel.com;
     rewrite ^/(.*) http://nbskel.com/$1 permanent;
+    access_log /dev/null;
+    error_log /dev/null;
 }
 
 server {
     listen 80;
     server_name nbskel.com;
 
-    access_log /path/to/project/logs/nginx_access.log;
-    error_log /path/to/project/logs/nginx_error.log;
+    access_log /path/to/project/logs/nbskel.com.nginx_access.log;
+    error_log /path/to/project/logs/nbskel.com.nginx_error.log;
 
     location / {
         proxy_pass http://127.0.0.1:8080;