nginx lax CSP
All checks were successful
/ deploy (push) Successful in 31s

This commit is contained in:
toufic ar 2026-03-04 04:20:44 +02:00
parent d5fc3b8852
commit 30057712d2
Signed by: toufic ar
SSH key fingerprint: SHA256:/NaO5I1nG3gYKzrzSiTYIdRyaIYxDWfr1U+d+yfJ/4k

View file

@ -35,7 +35,7 @@ in {
https "max-age=31536000; includeSubdomains; preload";
}
more_set_headers 'Strict-Transport-Security: $hsts_header';
more_set_headers 'Content-Security-Policy: default-src "self"';
more_set_headers 'Content-Security-Policy: default-src "self" *';
more_set_headers 'Referrer-Policy: origin-when-cross-origin';
more_set_headers 'X-Frame-Options: DENY';
more_set_headers 'X-Content-Type-Options: nosniff';