Update HSTS to publish a max-age=0 to disable it

This commit is contained in:
Tom Hughes 2017-03-03 11:34:39 +00:00
parent d3b9987bb8
commit e35748567c

View file

@ -21,6 +21,7 @@ else
end
SecureHeaders::Configuration.default do |config|
config.hsts = "max-age=0"
config.csp = SecureHeaders::OPT_OUT
config.csp_report_only = policy
end