Skip to content

Commit 9e04fa3

Browse files
committed
Update example to use multiple config values
1 parent 8447ec3 commit 9e04fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ SecureHeaders::Configuration.default do |config|
7171
config.x_xss_protection = "1; mode=block"
7272
config.x_download_options = "noopen"
7373
config.x_permitted_cross_domain_policies = "none"
74-
config.referrer_policy = "origin-when-cross-origin"
74+
config.referrer_policy = %w(origin-when-cross-origin strict-origin-when-cross-origin)
7575
config.csp = {
7676
# "meta" values. these will shape the header, but the values are not included in the header.
7777
preserve_schemes: true, # default: false. Schemes are removed from host sources to save bytes and discourage mixed content.

0 commit comments

Comments
 (0)