workaround for odd CSP semantics in Chromium 97

This commit is contained in:
Daniel Micay 2022-01-13 12:23:53 -05:00
parent 9b94fadfcc
commit 6b2f1e8220

View File

@ -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";
}