You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
703 B
Plaintext

server {
listen 80;
server_name {{MAILING_LIST_DOMAIN}};
rewrite ^/$ /sympa permanent;
location /sympa {
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/run/sympa/wwsympa.socket;
fastcgi_split_path_info ^(/sympa)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
location /sympasoap {
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/run/sympa/sympasoap.socket;
fastcgi_split_path_info ^(/sympasoap)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
location /static-sympa {
alias /usr/share/sympa/static_content;
}
location /css-sympa {
alias /var/lib/sympa/css;
}
}