netlify.toml 1.6 KB

12345678910111213141516
  1. [[headers]]
  2. # Define which paths this specific [[headers]] block will cover.
  3. for = "/*"
  4. [headers.values]
  5. X-Frame-Options = "DENY"
  6. X-XSS-Protection = "1; mode=block"
  7. Content-Security-Policy = "base-uri 'none';block-all-mixed-content;child-src 'none';connect-src 'none';default-src 'none';font-src 'none';form-action 'none';frame-ancestors 'none';frame-src 'none';img-src 'self';manifest-src 'none';media-src 'none';navigate-to 'none';object-src 'none';script-src 'none';script-src-attr 'none';script-src-elem 'none';style-src 'sha256-XW5I+QxF+GkNpZbQYSUz9fyZgr87gs6/7Qw95QHLPsg=';style-src-attr 'none'';style-src-elem 'sha256-XW5I+QxF+GkNpZbQYSUz9fyZgr87gs6/7Qw95QHLPsg=';upgrade-insecure-requests;worker-src 'none'"
  8. Feature-Policy = "accelerometer 'none';ambient-light-sensor 'none';autoplay 'none';camera 'none';display-capture 'none';document-domain 'none';encrypted-media 'none';fullscreen 'none';geolocation 'none';gyroscope 'none';layout-animations 'none';legacy-image-formats 'none';magnetometer 'none';microphone 'none';midi 'none';oversized-images 'none';payment 'none';picture-in-picture 'none';publickey-credentials 'none';speaker 'none';sync-xhr 'none';unsized-media 'none';usb 'none';vibrate 'none';vr 'none';wake-lock 'none"
  9. Referrer-Policy = "no-referrer"
  10. Cache-Control = "s-maxage=15552000, max-age=2592000, stale-while-revalidate=86400"
  11. Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
  12. X-Content-Type-Options = "nosniff"
  13. X-DNS-Prefetch-Control = "off"
  14. Clear-Site-Data = "*"
  15. Set-Cookie = "__Host-max-age=0; Path=/; HttpOnly; Secure; SameSite=Strict"