# Response headers for static hosting that reads a _headers file (Cloudflare Workers static assets or Pages).
# The policies must equal PAGE_CSP and WORKER_CSP in browser-test/run.py (checked by that script) and the design
# doc's Page security section. The page policy is set ONLY on the page: Cloudflare joins duplicate headers with a
# comma, so a site-wide policy would stack onto the worker's own policy.
/
  Content-Security-Policy: default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; worker-src 'self'; connect-src 'self'; style-src 'self'; img-src 'self'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; require-trusted-types-for 'script'; trusted-types dolos-worker
/index.html
  Content-Security-Policy: default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; worker-src 'self'; connect-src 'self'; style-src 'self'; img-src 'self'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; require-trusted-types-for 'script'; trusted-types dolos-worker
/tool-worker.mjs
  Content-Security-Policy: default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; connect-src 'none'
# HSTS (owner decision 2026-11-24): browsers use HTTPS only. Starts at 1 day; raise to max-age=31536000 after a
# working deploy on eof.report. No includeSubDomains or preload yet (both are hard to undo). Set here only: leave
# Cloudflare's dashboard HSTS off, or the two values are joined with a comma (check-deploy.py fails on that).
/*
  X-Content-Type-Options: nosniff
  Referrer-Policy: no-referrer
  Strict-Transport-Security: max-age=86400
