summaryrefslogtreecommitdiffstats
path: root/etc/apache2
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-01-10 20:36:54 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-11 00:32:34 +0000
commit4646f6d009d50860abe6c6b521218a45b27483c3 (patch)
tree31d3cd97063bb95986bfd629c7f8a3e7b6841e62 /etc/apache2
parent6ad0818abb837ea81954cea57a3d004df4bb3877 (diff)
downloadjenkins.debian.net-4646f6d009d50860abe6c6b521218a45b27483c3.tar.xz
apache: enable HSTS
Diffstat (limited to 'etc/apache2')
-rw-r--r--etc/apache2/sites-available/jenkins.debian.net1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net
index 48feec5a..170e63d5 100644
--- a/etc/apache2/sites-available/jenkins.debian.net
+++ b/etc/apache2/sites-available/jenkins.debian.net
@@ -42,6 +42,7 @@ NameVirtualHost *:443
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
+ Header always add Strict-Transport-Security "max-age=15552000"
ErrorLog ${APACHE_LOG_DIR}/error.log