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
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,6 @@ SecureHeaders::Configuration.default do |config|
62
62
# directive values: these values will directly translate into source directives
63
63
default_src:%w('none'),
64
64
base_uri:%w('self'),
65
-
block_all_mixed_content:true, # see https://www.w3.org/TR/mixed-content/
66
65
child_src:%w('self'), # if child-src isn't supported, the value for frame-src will be set.
67
66
connect_src:%w(wss:),
68
67
font_src:%w('self' data:),
@@ -92,6 +91,9 @@ SecureHeaders::Configuration.default do |config|
92
91
end
93
92
```
94
93
94
+
### Deprecated Configuration Values
95
+
*`block_all_mixed_content` - this value is deprecated in favor of `upgrade_insecure_requests`. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/block-all-mixed-content for more information.
96
+
95
97
## Default values
96
98
97
99
All headers except for PublicKeyPins and ClearSiteData have a default value. The default set of headers is:
0 commit comments