workaround for odd CSP semantics in Chromium 97
This commit is contained in:
parent
9b94fadfcc
commit
6b2f1e8220
@ -363,7 +363,7 @@ http {
|
||||
}
|
||||
|
||||
location ~ "\.(?:css|js|map|mjs)$" {
|
||||
include snippets/security-headers.conf;
|
||||
include snippets/security-headers-base.conf;
|
||||
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user