Note X-Frame-Options obsolesence
This commit is contained in:
parent
65459ad784
commit
111a568c6e
@ -10,12 +10,14 @@ add_header Referrer-Policy "same-origin" always;
|
|||||||
proxy_hide_header X-Content-Type-Options;
|
proxy_hide_header X-Content-Type-Options;
|
||||||
add_header X-Content-Type-Options "nosniff" always;
|
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;
|
proxy_hide_header X-Permitted-Cross-Domain-Policies;
|
||||||
add_header X-Permitted-Cross-Domain-Policies "none" always;
|
add_header X-Permitted-Cross-Domain-Policies "none" always;
|
||||||
|
|
||||||
|
# Obsolete and replaced by Content-Security-Policy frame-ancestors
|
||||||
|
# Setting the less restrictive SAMEORIGIN here, has frame-ancestors 'none' will overwrite it anyways
|
||||||
|
proxy_hide_header X-Frame-Options;
|
||||||
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||||
|
|
||||||
# Obsolete and replaced by Content-Security-Policy
|
# Obsolete and replaced by Content-Security-Policy
|
||||||
# Only here to pass Hardenize checks
|
# Only here to pass Hardenize checks
|
||||||
proxy_hide_header X-XSS-Protection;
|
proxy_hide_header X-XSS-Protection;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user