dbmoe / deploy /browser-selftest.headers.conf
MarxistLeninist's picture
SG verified artifact b9d5946e006c26b3
2832b6c verified
Raw History Blame Contribute Delete
719 Bytes
limit_except GET { deny all; }
recursive_error_pages off;
error_page 403 404 405 =404 @dbmoe_browser_static_not_found;
add_header Cache-Control "no-store" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "DENY" always;
add_header Referrer-Policy "no-referrer" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=(), usb=(), serial=(), hid=(), bluetooth=()" always;
add_header Content-Security-Policy "default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self'; connect-src 'self'; worker-src 'self'; base-uri 'none'; object-src 'none'; frame-ancestors 'none'; form-action 'none'" always;