Skip to content

Commit

Permalink
Merge branch 'fix-hsts' into 'jessie'
Browse files Browse the repository at this point in the history
Fix HSTS config to make HSTS work by default

Fixes #46

See merge request !12
  • Loading branch information
Patrick J Cherry committed Nov 3, 2016
2 parents 83c1b4c + 754f520 commit 33253a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpd/apache.d/ssl.template.erb
Expand Up @@ -59,7 +59,7 @@
SSLStaplingReturnResponderErrors off

% if mandatory_ssl?
<IfModule headers_mod>
<IfModule headers_module>
# HSTS (mod_headers is required) (15768000 seconds = 6 months)
Header always set Strict-Transport-Security "max-age=15768000"
</IfModule>
Expand Down

0 comments on commit 33253a6

Please sign in to comment.