mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-02-14 18:10:17 +00:00
Add security headers to the website.
The one bit of JS we have for the mobile menu needed some tweaking. Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
@@ -33,3 +33,11 @@ HUGO_ENABLEGITINFO = "true"
|
||||
for = "/fonts/*"
|
||||
[headers.values]
|
||||
Access-Control-Allow-Origin = "*"
|
||||
|
||||
[[headers]]
|
||||
for = "/*"
|
||||
[headers.values]
|
||||
Content-Security-Policy = "default-src 'self'; img-src *"
|
||||
X-Content-Type-Options = "nosniff"
|
||||
X-Frame-Options = "DENY"
|
||||
X-XSS-Protection = "1; mode=block"
|
||||
Reference in New Issue
Block a user