projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update arch all buildd hostname
[mirror/dsa-puppet.git]
/
modules
/
apache2
/
files
/
puppet-ssl-macros
diff --git
a/modules/apache2/files/puppet-ssl-macros
b/modules/apache2/files/puppet-ssl-macros
index
69bc424
..
db298bb
100644
(file)
--- a/
modules/apache2/files/puppet-ssl-macros
+++ b/
modules/apache2/files/puppet-ssl-macros
@@
-1,8
+1,10
@@
<IfModule mod_ssl.c>
<IfModule mod_macro.c>
<Macro common-ssl-HSTS>
<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 two month HSTS header
+ Header always add Strict-Transport-Security "max-age=5184000"
+ </IfModule>
</Macro>
<Macro common-debian-service-ssl $name>
</Macro>
<Macro common-debian-service-ssl $name>