diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2014-02-10 12:28:29 +0100 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2014-02-10 12:28:29 +0100 |
commit | c49bb8e8d28cccd84efb97e44905359c7ed09561 (patch) | |
tree | 21d47090f3954bdd44923cea0b0c0d69820e93a9 | |
parent | fad9f26f7beb0988c271d176455ef562548cd55d (diff) |
Added STS header in Apache conf.
Change-Id: I39cc49919b56c564fd6092af1bd6afeacde4c572
-rw-r--r-- | ansible/roles/status/templates/apache_website.conf | 1 |
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)$"> |