diff --git a/sympa/doc/install.md b/sympa/doc/installation.md similarity index 96% rename from sympa/doc/install.md rename to sympa/doc/installation.md index 6902de7..cd4253a 100644 --- a/sympa/doc/install.md +++ b/sympa/doc/installation.md @@ -12,7 +12,7 @@ USE OF: postfix + postgresql + ... ```bash # postfix debconf-set-selections </etc/nginx/sites-available/sympa.conf +server { + listen 80; + server_name _; + rewrite ^/$ /wws permanent; + + location /wws { + include fastcgi_params; + fastcgi_param SERVER_NAME $(hostname -f); + fastcgi_pass unix:/run/sympa/wwsympa.socket; + } + + location /static-sympa { + alias /usr/share/sympa/static_content; + } + + location /css-sympa { + alias /var/lib/sympa/css; + } + + location /pictures-sympa { + alias /var/lib/sympa/pictures; + } +} +EOF +cd /etc/nginx/sites-enabled && rm -f default && ln -sf ../sites-available/sympa.conf && cd +systemctl reload nginx + +# final word +echo Sympa successfully installed!