aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2014-02-10 12:28:29 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2014-02-10 12:28:29 +0100
commitc49bb8e8d28cccd84efb97e44905359c7ed09561 (patch)
tree21d47090f3954bdd44923cea0b0c0d69820e93a9
parentfad9f26f7beb0988c271d176455ef562548cd55d (diff)
Added STS header in Apache conf.
Change-Id: I39cc49919b56c564fd6092af1bd6afeacde4c572
-rw-r--r--ansible/roles/status/templates/apache_website.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/status/templates/apache_website.conf b/ansible/roles/status/templates/apache_website.conf
index 9faf171..6e7f975 100644
--- a/ansible/roles/status/templates/apache_website.conf
+++ b/ansible/roles/status/templates/apache_website.conf
@@ -47,6 +47,7 @@ WSGILazyInitialization On
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"
+ Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"
Header append Cache-Control "no-transform"
<FilesMatch "\.(html|htm)$">