]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/templates/default/ssl.erb
Increase HSTS expiry
[chef.git] / cookbooks / apache / templates / default / ssl.erb
index a703b04c7a518c9e6e241315af11c86adc5033d9..df7c2578d7bf547d501a3ccfb85c7f8cd54fcd6c 100644 (file)
@@ -15,3 +15,5 @@ SSLStaplingErrorCacheTimeout 60
 SSLStaplingReturnResponderErrors off
 SSLStaplingFakeTryLater off
 SSLStaplingCache shmcb:${APACHE_RUN_DIR}/ssl_ocspcache(512000)
+
+Header setifempty Strict-Transport-Security max-age=86400 env=HTTPS