projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42b6a39
)
only set sts header if mod headers is loaded
author
Peter Palfrader
<peter@palfrader.org>
Wed, 1 Jan 2014 11:01:20 +0000
(12:01 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 1 Jan 2014 11:01:20 +0000
(12:01 +0100)
modules/apache2/files/puppet-ssl-macros
patch
|
blob
|
history
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>
- # 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>