Skip to content

Commit 21fda57

Browse files
authored
Merge pull request #32 from lukpueh/harden-headers
Configure https security headers
2 parents dc9b68c + d8d504e commit 21fda57

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

netlify.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,12 @@ to = "https://theupdateframework.github.io/specification/"
2222
[[redirects]]
2323
from = "/specification"
2424
to = "https://theupdateframework.github.io/specification/latest/"
25+
26+
[[headers]]
27+
for = "/*"
28+
[headers.values]
29+
Content-Security-Policy = "default-src 'self' code.jquery.com fonts.googleapis.com fonts.gstatic.com use.fontawesome.com app.netlify.com netlify-cdp-loader.netlify.app"
30+
X-Frame-Options = "deny"
31+
X-Content-Type-Options = "nosniff"
32+
Referrer-Policy = "no-referrer-when-downgrade"
33+
permissions-policy = "interest-cohort=()"

0 commit comments

Comments
 (0)