summaryrefslogtreecommitdiffstats
path: root/roles/webmail/files/etc/nginx/sites-available/roundcube
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-04-01 18:13:05 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-04-01 18:23:44 +0200
commit8164e87052cfa2d4a2929a1d095222614c12b95e (patch)
treea63bcd08b6cdb57d31c2fa4fad5930fe2058d838 /roles/webmail/files/etc/nginx/sites-available/roundcube
parentd7ccaa19467cd4281989ac2f59ee2f20acbdc4e1 (diff)
Set a HPKP on the webmail, website/wiki/git and list manager.
Diffstat (limited to 'roles/webmail/files/etc/nginx/sites-available/roundcube')
-rw-r--r--roles/webmail/files/etc/nginx/sites-available/roundcube1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/webmail/files/etc/nginx/sites-available/roundcube b/roles/webmail/files/etc/nginx/sites-available/roundcube
index f4461ca..c66ec7a 100644
--- a/roles/webmail/files/etc/nginx/sites-available/roundcube
+++ b/roles/webmail/files/etc/nginx/sites-available/roundcube
@@ -33,6 +33,7 @@ server {
include snippets/ssl.conf;
ssl_certificate /etc/nginx/ssl/mail.fripost.org.pem;
ssl_certificate_key /etc/nginx/ssl/mail.fripost.org.key;
+ add_header Public-Key-Pins 'pin-sha256="SHfniMEapxeYo5YT/2jP+n+WstNaYghDMhZUadLlPDk="; pin-sha256="/Tt92H3ZkfEW1/AOCoGVm1TxZl7u4c+tIBnuvAc7d5w="; max-age=15778800';
location = /favicon.ico {
root /usr/share/roundcube/skins/default/images;