]> git.somenet.org - root/pub/somesible.git/blob - roles/service/sympa/vars/default/vars_nginx_vhost_custom.yml
roles/service/mattermost/defaults
[root/pub/somesible.git] / roles / service / sympa / vars / default / vars_nginx_vhost_custom.yml
1 #####################################
2 ### someone"s ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
6 #
7 ---
8 vhost_custom_pre_server: |-
9
10 vhost_custom: |-
11     location = / {return 301 /sympa;}
12     location /sympa {
13         include fastcgi_params;
14         fastcgi_pass unix:/run/sympa/wwsympa.socket;
15     }
16     location /sympasoap {
17         include fastcgi_params;
18         fastcgi_pass unix:/run/sympa/wwsympa.socket;
19     }
20     location /css-sympa {
21         alias /var/lib/sympa/css;
22     }
23
24     # below maybe needs fixing
25     location /static-sympa/pictures {
26         alias /var/lib/sympa/pictures;
27     }
28     location /static-sympa {
29         alias /usr/share/sympa/static_content;
30     }