You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ SecureHeaders::Configuration.default do |config|
57
57
config.csp = {
58
58
# "meta" values. these will shape the header, but the values are not included in the header.
59
59
preserve_schemes:true, # default: false. Schemes are removed from host sources to save bytes and discourage mixed content.
60
+
disable_nonce_backwards_compatibility:true, # default: false. If false, `unsafe-inline` will be added automatically when using nonces. If true, it won't. See #403 for why you'd want this.
60
61
61
62
# directive values: these values will directly translate into source directives
0 commit comments