Browse Source

install nginx OK

main
pvincent 3 days ago
parent
commit
3cdfbee23f
  1. 3
      sympa/TODO.md
  2. 9
      sympa/install.md

3
sympa/TODO.md

@ -11,8 +11,7 @@ TODO
* [x] réessayer apache2 * [x] réessayer apache2
* [x] ok * [x] ok
* [x] réessayer avec nginx * [x] réessayer avec nginx
* [x] ça a fonctionné une fois !
* [ ] mais, je n'arrive pas à reproduire une installation *from scratch*, pas cool :-(
* [x] correction de l'installation
* [ ] tester la version Debian12 avec une IP fixe * [ ] tester la version Debian12 avec une IP fixe
* [ ] configurer postfix conformément à la version Debian9 * [ ] configurer postfix conformément à la version Debian9
* [ ] migrer une ancienne version de liste de Debian 9 vers la version Debian 12 * [ ] migrer une ancienne version de liste de Debian 9 vers la version Debian 12

9
sympa/install.md

@ -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
Loading…
Cancel
Save