diff --git a/common/nginx.nix b/common/nginx.nix index 19b315b..4bd8816 100644 --- a/common/nginx.nix +++ b/common/nginx.nix @@ -9,11 +9,11 @@ appendHttpConfig = '' add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always; - add_header Content-Security-Policy "default-src https: data: 'unsafe-inline'; object-src 'none'; base-uri 'none';" always; + add_header Content-Security-Policy "default-src https: data: blob: 'unsafe-inline' 'wasm-unsafe-eval'; object-src 'none'; base-uri 'none';" always; add_header Referrer-Policy strict-origin-when-cross-origin; add_header X-Frame-Options SAMEORIGIN; add_header X-Content-Type-Options nosniff; - add_header X-Clacks-Overhead "GNU Terry Pratchett"; + add_header X-Clacks-Overhead "GNU Terry Pratchett" always; proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict"; ''; };