|
@ -22,7 +22,7 @@ LISTMASTER=pvincent@artcode.re |
|
|
* pass: sympa |
|
|
* pass: sympa |
|
|
* web: apache2 |
|
|
* web: apache2 |
|
|
* setuid: no |
|
|
* setuid: no |
|
|
* vim /etc/sympa/sympa/sympa.conf # |
|
|
|
|
|
|
|
|
* editor /etc/sympa/sympa/sympa.conf |
|
|
* listmaster: {{LISTMASTER}} |
|
|
* listmaster: {{LISTMASTER}} |
|
|
* lang: fr |
|
|
* lang: fr |
|
|
* wwsympa_url: http://{{PUBLIC_URL}}/wws |
|
|
* wwsympa_url: http://{{PUBLIC_URL}}/wws |
|
@ -56,11 +56,12 @@ LISTMASTER=pvincent@artcode.re |
|
|
``` |
|
|
``` |
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
server_name {{PUBLIC_URL}}; |
|
|
|
|
|
|
|
|
server_name _; |
|
|
rewrite ^/$ /wws permanent; |
|
|
rewrite ^/$ /wws permanent; |
|
|
|
|
|
|
|
|
location /wws { |
|
|
location /wws { |
|
|
include fastcgi_params; |
|
|
include fastcgi_params; |
|
|
|
|
|
fastcgi_param SERVER_NAME $host; |
|
|
fastcgi_pass unix:/run/sympa/wwsympa.socket; |
|
|
fastcgi_pass unix:/run/sympa/wwsympa.socket; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -82,3 +83,7 @@ server { |
|
|
* rm default |
|
|
* rm default |
|
|
* ln -s ../sites-available/sympa.conf |
|
|
* ln -s ../sites-available/sympa.conf |
|
|
* systemctl reload nginx |
|
|
* systemctl reload nginx |
|
|
|
|
|
|
|
|
|
|
|
## after any sympa change! |
|
|
|
|
|
|
|
|
|
|
|
* systemctl restart wwsympa.socket |