]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/secure_headers.rb
Merge remote-tracking branch 'upstream/pull/1850'
[rails.git] / config / initializers / secure_headers.rb
index 12b31a0c094003ddeaa73b8d473b37827431abcf..b0b45aa13125f355fd56ca74b31217f0d970af8f 100644 (file)
@@ -27,6 +27,7 @@ cookie_policy = {
 }
 
 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