update netlify.toml (headers)

master
Dominic Reich 6 years ago
parent c2e819acf3
commit 01857e939f
No known key found for this signature in database
GPG Key ID: 2664FE98B15DDE4F

@ -6,7 +6,18 @@
for = "/*"
[headers.values]
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
Cache-Control = "public, max-age=31536000"
Referrer-Policy = "strict-origin-when-cross-origin"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "no-referrer"
X-Content-Type-Options = "nosniff"
# Referrer-Policy = "no-referrer"
Access-Control-Allow-Origin = "*"
Vary = "Accept-Encoding"
Access-Control-Allow-Credentials = "true"
Feature-Policy = "geolocation 'self' https://mademistakes.com; autoplay 'none'; lazyload 'self' https://mademistakes.com; sync-xhr 'self' https://mademistakes.com"
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000"

Loading…
Cancel
Save