Commit be380d4f5240ff65a611733c4a4d34ef39ae4e2e

Authored by Antonio Terceiro
1 parent 37c33eef

mailman: use separate nginx log files

cookbooks/mailman/templates/centos/mailman.conf.erb
@@ -2,6 +2,9 @@ server { @@ -2,6 +2,9 @@ server {
2 server_name <%= node['config']['lists_hostname'] %>; 2 server_name <%= node['config']['lists_hostname'] %>;
3 listen 80; 3 listen 80;
4 4
  5 + access_log /var/log/nginx/mailman.access.log;
  6 + error_log /var/log/nginx/mailman.error.log;
  7 +
5 location = / { 8 location = / {
6 rewrite ^ /mailman/cgi-bin/listinfo permanent; 9 rewrite ^ /mailman/cgi-bin/listinfo permanent;
7 } 10 }