Skip to content

Commit

Permalink
Add X-Permitted-Cross-Domain-Policies
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy <[email protected]>
  • Loading branch information
TommyTran732 authored Oct 13, 2024
1 parent 11189cf commit ba55409
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/nginx/snippets/security.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ add_header X-Content-Type-Options "nosniff" always;
proxy_hide_header X-Frame-Options;
add_header X-Frame-Options "SAMEORIGIN" always;

proxy_hide_header X-Permitted-Cross-Domain-Policies;
add_header X-Permitted-Cross-Domain-Policies "none" always;

# Obsolete and replaced by Content-Security-Policy
# Only here to pass Hardenize checks
proxy_hide_header X-XSS-Protection;
Expand Down

0 comments on commit ba55409

Please sign in to comment.