From cbc9550622c3b483a1a2d46e16b238856c904e8f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 1 Jan 2014 12:01:20 +0100 Subject: [PATCH] only set sts header if mod headers is loaded --- modules/apache2/files/puppet-ssl-macros | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/apache2/files/puppet-ssl-macros b/modules/apache2/files/puppet-ssl-macros index 69bc42438..db298bb58 100644 --- a/modules/apache2/files/puppet-ssl-macros +++ b/modules/apache2/files/puppet-ssl-macros @@ -1,8 +1,10 @@ - # Add two month HSTS header - Header always add Strict-Transport-Security "max-age=5184000" + + # Add two month HSTS header + Header always add Strict-Transport-Security "max-age=5184000" + -- 2.20.1