From 54261953e711e67e4ee28f788ea35bcab0e86654 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 30 Mar 2016 21:45:43 +0300 Subject: Set HTTP security headers. See https://securityheaders.io . --- roles/webmail/files/etc/nginx/sites-available/roundcube | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/webmail/files/etc/nginx/sites-available') diff --git a/roles/webmail/files/etc/nginx/sites-available/roundcube b/roles/webmail/files/etc/nginx/sites-available/roundcube index 304b05d..ee6ff20 100644 --- a/roles/webmail/files/etc/nginx/sites-available/roundcube +++ b/roles/webmail/files/etc/nginx/sites-available/roundcube @@ -7,6 +7,7 @@ server { server_name webmail.fripost.org; include snippets/acme-challenge.conf; + include snippets/headers.conf; access_log /var/log/nginx/roundcube.access.log; error_log /var/log/nginx/roundcube.error.log info; @@ -27,6 +28,7 @@ server { root /var/lib/roundcube; include snippets/ssl.conf; + include snippets/headers.conf; ssl_certificate /etc/nginx/ssl/mail.fripost.org.pem; ssl_certificate_key /etc/nginx/ssl/mail.fripost.org.key; -- cgit v1.2.3