<IfModule mod_ssl.c>
<IfModule mod_macro.c>
<Macro common-ssl-HSTS>
- # Add two month HSTS header
- Header always add Strict-Transport-Security "max-age=5184000"
+ <IfModule mod_headers.c>
+ # Add six months HSTS header
+ Header always add Strict-Transport-Security "max-age=15552000"
+ </IfModule>
</Macro>
<Macro common-debian-service-ssl $name>