Skip to content

Commit

Permalink
update referer-policy and strict-transport-policy header-defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Sep 6, 2024
1 parent 7e5c81b commit 0abbbd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion defaults/main/1_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,11 @@ defaults_backend:

# NOTE: if your application adds these response headers - they will not be overwritten
defaults_security_headers:
Strict-Transport-Security: 'max-age=16000000; includeSubDomains; preload;'
Strict-Transport-Security: 'max-age=31536000; includeSubdomains; preload'
X-Frame-Options: 'SAMEORIGIN' # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
X-Content-Type-Options: 'nosniff' # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
X-Permitted-Cross-Domain-Policies: 'none'
Referrer-Policy: 'strict-origin-when-cross-origin' # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy

defaults_frontend_route:
domains: []
Expand Down

0 comments on commit 0abbbd9

Please sign in to comment.