Restrict CORP
This commit is contained in:
parent
03149c183c
commit
4f1b4b6dcb
@ -2,10 +2,10 @@
|
|||||||
# Meant to be used globally, but some apps may need a manual overwrite, so this is split out from security.conf
|
# Meant to be used globally, but some apps may need a manual overwrite, so this is split out from security.conf
|
||||||
|
|
||||||
proxy_hide_header Cross-Origin-Resource-Policy;
|
proxy_hide_header Cross-Origin-Resource-Policy;
|
||||||
add_header Cross-Origin-Resource-Policy cross-origin always;
|
add_header Cross-Origin-Resource-Policy same-origin always;
|
||||||
|
|
||||||
proxy_hide_header Cross-Origin-Opener-Policy;
|
proxy_hide_header Cross-Origin-Opener-Policy;
|
||||||
add_header Cross-Origin-Opener-Policy same-origin always;
|
add_header Cross-Origin-Opener-Policy same-origin always;
|
||||||
|
|
||||||
proxy_hide_header Cross-Origin-Opener-Policy;
|
proxy_hide_header Cross-Origin-Embedder-Policy;
|
||||||
Cross-Origin-Embedder-Policy require-corp always;
|
add_header Cross-Origin-Embedder-Policy require-corp always;
|
Loading…
x
Reference in New Issue
Block a user