From 2885caa95ce392c8e958e08b10bdf128c93a23c3 Mon Sep 17 00:00:00 2001 From: Jim Angel Date: Tue, 30 Mar 2021 21:14:20 -0500 Subject: [PATCH] adding header config for netlify --- netlify.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/netlify.toml b/netlify.toml index da51edfc94..45d248d8c4 100644 --- a/netlify.toml +++ b/netlify.toml @@ -27,3 +27,10 @@ command = "git submodule update --init --recursive --depth 1 && make deploy-prev # DO NOT REMOVE THIS (contact @kubernetes/sig-docs-leads) publish = "public" command = "git submodule update --init --recursive --depth 1 && make production-build" + +# adding in headers to prevent clickjacking +[[headers]] + for = "/*" + [headers.values] + X-Frame-Options = "DENY" + X-XSS-Protection = "1; mode=block"