From 53cd6d2c79d206273fbe9b924156b440894a4776 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 7 Dec 2018 22:33:54 +0100 Subject: Upgrade 'lists' role to Debian Stretch. --- roles/lists/files/etc/nginx/sites-available/sympa | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'roles/lists/files/etc/nginx/sites-available/sympa') 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 / { -- cgit v1.2.3