summaryrefslogtreecommitdiffstats
path: root/roles/lists/files
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/lists/files
parentd7ccaa19467cd4281989ac2f59ee2f20acbdc4e1 (diff)
Set a HPKP on the webmail, website/wiki/git and list manager.
Diffstat (limited to 'roles/lists/files')
-rw-r--r--roles/lists/files/etc/nginx/sites-available/sympa1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/lists/files/etc/nginx/sites-available/sympa b/roles/lists/files/etc/nginx/sites-available/sympa
index 79df229..732f09f 100644
--- a/roles/lists/files/etc/nginx/sites-available/sympa
+++ b/roles/lists/files/etc/nginx/sites-available/sympa
@@ -31,6 +31,7 @@ server {
include snippets/ssl.conf;
ssl_certificate /etc/nginx/ssl/lists.fripost.org.pem;
ssl_certificate_key /etc/nginx/ssl/lists.fripost.org.key;
+ add_header Public-Key-Pins 'pin-sha256="OLx1hOEqnCdS/7ZgzTzAl8Ig/Cwpz5MY9J9Fishg6/0="; pin-sha256="v/Ow0Ou2m08HO10wxci1IVrMC/pbihnoDNxvUwKBsMY="; max-age=15778800';
location = / {
return 302 /sympa$args;