sympa-docker/nginx.conf.template

29 lines
703 B
Plaintext
Raw Permalink Normal View History

2020-07-06 12:13:35 +00:00
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;
}
2020-10-08 12:32:27 +00:00
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;
}
2020-07-06 12:13:35 +00:00
location /static-sympa {
alias /usr/share/sympa/static_content;
}
location /css-sympa {
alias /var/lib/sympa/css;
}
}