From 4f6e53aa14c5e051205cc31d98ce97bc33025220 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 3 Feb 2024 17:01:24 +0100 Subject: [PATCH] feat: Implement rio's new rio.json --- .gitignore | 5 ++++- static/rio.json | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 static/rio.json diff --git a/.gitignore b/.gitignore index ca52218..c9fe45a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,7 @@ result public/ # Generated using tailwindcss -static/css/index.css \ No newline at end of file +static/css/index.css + +# Zola build output +public/ \ No newline at end of file diff --git a/static/rio.json b/static/rio.json new file mode 100644 index 0000000..b54db87 --- /dev/null +++ b/static/rio.json @@ -0,0 +1,8 @@ +{ + "CNAME": "polynom.me", + "headers": { + "Content-Security-Policy": "default-src 'self'; script-src 'self'; script-src-elem 'self'; script-src-attr 'none'; style-src * 'self'; img-src 'self' data:; font-src 'self'; connect-src 'none'; media-src 'self'; object-src 'none'; prefetch-src 'none'; child-src 'none'; frame-src 'none'; worker-src 'none'; frame-ancestors 'none'; form-action 'none'; upgrade-insecure-requests; block-all-mixed-content; disown-opener; sandbox; base-uri https://polynom.me; manifest-src 'none'", + "X-Frame-Options": "DENY", + "Referrer-Policy": "no-referrer, strict-origin-when-cross-origin" + } +} \ No newline at end of file