From 38452f4b064eb5aa0779ffddfb9a613193ffca2e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 21 Sep 2019 17:06:19 +0100 Subject: [PATCH] Add netlify config --- netlify.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..20c8734 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,17 @@ +[build] + publish = "public/" + command = "./scripts/build.sh --minify" + +[build.environment] + HUGO_VERSION = "0.55.6" + 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"