summaryrefslogtreecommitdiffstats
path: root/roles/lists/files/etc/nginx/sites-available
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2018-12-07 22:33:54 +0100
committerGuilhem Moulin <guilhem@fripost.org>2018-12-09 20:25:39 +0100
commit53cd6d2c79d206273fbe9b924156b440894a4776 (patch)
tree4c8131965b2da427a1bdc166c511a2ce5ea0673a /roles/lists/files/etc/nginx/sites-available
parent53c62a66705402235ef7077f5fab759b59c490cb (diff)
Upgrade 'lists' role to Debian Stretch.
Diffstat (limited to 'roles/lists/files/etc/nginx/sites-available')
-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 / {