summaryrefslogtreecommitdiffstats
path: root/roles/lists/files/etc/nginx/sites-available/sympa
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lists/files/etc/nginx/sites-available/sympa')
-rw-r--r--roles/lists/files/etc/nginx/sites-available/sympa13
1 files changed, 10 insertions, 3 deletions
diff --git a/roles/lists/files/etc/nginx/sites-available/sympa b/roles/lists/files/etc/nginx/sites-available/sympa
index 48dcf3d..f5a67bf 100644
--- a/roles/lists/files/etc/nginx/sites-available/sympa
+++ b/roles/lists/files/etc/nginx/sites-available/sympa
@@ -16,8 +16,8 @@ server {
server {
- listen 443 spdy;
- listen [::]:443 spdy;
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
server_name lists.fripost.org;
@@ -33,6 +33,13 @@ server {
ssl_certificate_key ssl/lists.fripost.org.key;
include snippets/lists.fripost.org.hpkp-hdr;
+ location = /robots.txt {
+ allow all;
+ log_not_found off;
+ access_log off;
+ alias /etc/sympa/robots.txt;
+ }
+
location = / {
return 302 /sympa$args;
}
@@ -66,7 +73,7 @@ server {
fastcgi_pass unix:/run/wwsympa.socket;
gzip off;
- fastcgi_param SERVER_NAME $vhost;
+ fastcgi_param SERVER_NAME $vhost;
}
location / {