From fa38120b20832ee43034216326678ed9fbc8a961 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 27 May 2018 11:46:12 +0100 Subject: [PATCH] Add more secure headers --- netlify.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/netlify.toml b/netlify.toml index 4d4da51..93bd416 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,3 +7,12 @@ HUGO_ENV = "production" NODE_ENV = "production" NPM_CONFIG_PRODUCTION = "false" + +[[headers]] + for = "/*" + [headers.values] + X-Frame-Options = "SAMEORIGIN" + X-XSS-Protection = "1; mode=block" + X-Content-Type-Options = "nosniff" + Referrer-Policy = "same-origin" + Strict-Transport-Security = "max-age=5184000"