csp check
All checks were successful
/ deploy (push) Successful in 32s

This commit is contained in:
toufic ar 2026-03-04 03:58:40 +02:00
parent f3e3fd8e2b
commit b9b3a64a8e
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"; https "max-age=31536000; includeSubdomains; preload";
} }
more_set_headers 'Strict-Transport-Security: $hsts_header'; more_set_headers 'Strict-Transport-Security: $hsts_header';
more_set_headers 'Content-Security-Policy: default-src "none"'; more_set_headers 'Content-Security-Policy: upgrade-insecure-requests; default-src "self"';
more_set_headers 'Referrer-Policy: origin-when-cross-origin'; more_set_headers 'Referrer-Policy: origin-when-cross-origin';
more_set_headers 'X-Frame-Options: DENY'; more_set_headers 'X-Frame-Options: DENY';
more_set_headers 'X-Content-Type-Options: nosniff'; more_set_headers 'X-Content-Type-Options: nosniff';