Skip to content

Commit

Permalink
Allow apache to control the HSTS setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jan 11, 2018
1 parent b396c8c commit d987416
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/secure_headers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
}

SecureHeaders::Configuration.default do |config|
config.hsts = SecureHeaders::OPT_OUT
config.csp = SecureHeaders::OPT_OUT
config.csp_report_only = csp_policy
config.cookies = cookie_policy
Expand Down

0 comments on commit d987416

Please sign in to comment.