Plein de trucs
This commit is contained in:
@@ -9,21 +9,17 @@ server {
|
||||
error_log /var/log/nginx/mm.pipoworld.fr.error.log;
|
||||
error_log syslog:server=unix:/dev/log;
|
||||
|
||||
location = / {
|
||||
rewrite ^ /cgi-bin/mailman/listinfo permanent;
|
||||
location / {
|
||||
uwsgi_pass unix:/run/mailman3-web/uwsgi.sock;
|
||||
include /etc/nginx/uwsgi_params;
|
||||
}
|
||||
|
||||
location /cgi-bin/mailman {
|
||||
root /usr/lib/;
|
||||
fastcgi_split_path_info (^/cgi-bin/mailman/[^/]*)(.*)$;
|
||||
fastcgi_pass unix:/var/run/fcgiwrap.socket;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
gzip off;
|
||||
location /mailman3/static {
|
||||
alias /var/lib/mailman3/web/static;
|
||||
}
|
||||
|
||||
location /images/mailman {
|
||||
alias /usr/share/images/mailman;
|
||||
location /mailman3/static/favicon.ico {
|
||||
alias /var/lib/mailman3/web/static/postorius/img/favicon.ico;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user