forked from infra/ansible
Another round of new mailman vhost settings.
This commit is contained in:
parent
8f70860f8e
commit
1f679bcbcf
@ -15,20 +15,12 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location = / {
|
location = / {
|
||||||
rewrite ^ /mailman/listinfo permanent;
|
rewrite ^ /listinfo permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
rewrite ^ /mailman$uri?$args;
|
root /usr/lib/cgi-bin/mailman;
|
||||||
}
|
fastcgi_split_path_info (^/[^/]*)(.*)$;
|
||||||
|
|
||||||
location = /mailman/ {
|
|
||||||
rewrite ^ /mailman/listinfo permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /mailman {
|
|
||||||
root /usr/lib/cgi-bin;
|
|
||||||
fastcgi_split_path_info (^/mailman/[^/]+)(/.*)$;
|
|
||||||
fastcgi_pass unix:///var/run/fcgiwrap.socket;
|
fastcgi_pass unix:///var/run/fcgiwrap.socket;
|
||||||
include /etc/nginx/fastcgi_params;
|
include /etc/nginx/fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
Loading…
Reference in New Issue
Block a user