about summary refs log tree commit diff stats
path: root/vercel.json
diff options
context:
space:
mode:
authorAlan Pearce2024-06-01 19:14:31 +0200
committerAlan Pearce2024-06-02 00:17:22 +0200
commitb2d99412e32990a4172b55a5b69a0496d0c1a590 (patch)
tree8b335cab823f42774ba9c2e15219bdc1f68ee406 /vercel.json
parent4f002d0819cbaaebf00435d7befe9858cd0b9cf3 (diff)
downloadwebsite-b2d99412e32990a4172b55a5b69a0496d0c1a590.tar.lz
website-b2d99412e32990a4172b55a5b69a0496d0c1a590.tar.zst
website-b2d99412e32990a4172b55a5b69a0496d0c1a590.zip
no more CI
Diffstat (limited to 'vercel.json')
-rw-r--r--vercel.json59
1 files changed, 59 insertions, 0 deletions
diff --git a/vercel.json b/vercel.json
new file mode 100644
index 0000000..aebaf54
--- /dev/null
+++ b/vercel.json
@@ -0,0 +1,59 @@
+{
+  "$schema": "https://openapi.vercel.sh/vercel.json",
+  "buildCommand": null,
+  "framework": null,
+  "outputDirectory": "website/public",
+  "cleanUrls": false,
+  "trailingSlash": false,
+  "redirects": [
+    {
+      "source": "/.well-known/openid-configuration",
+      "destination": "https://id.alanpearce.eu/.well-known/openid-configuration",
+      "permanent": false
+    }
+  ],
+  "headers": [
+    {
+      "source": "/.well-known/webfinger",
+      "headers": [
+        {
+          "key": "Content-Type",
+          "value": "application/jrd+json"
+        }
+      ]
+    },
+    {
+      "source": "/(.*)",
+      "headers": [
+        {
+          "key": "X-Frame-Options",
+          "value": "DENY"
+        },
+        {
+          "key": "X-Content-Type-Options",
+          "value": "nosniff"
+        },
+        {
+          "key": "X-XSS-Protection",
+          "value": "1; mode=block"
+        },
+        {
+          "key": "Referrer-Policy",
+          "value": "strict-origin-when-cross-origin"
+        },
+        {
+          "key": "Strict-Transport-Security",
+          "value": "max-age=63072000; includeSubDomains; preload"
+        },
+        {
+          "key": "Content-Security-Policy",
+          "value": "default-src 'none'; img-src 'self' https://gc.zgo.at; object-src 'none'; script-src https://gc.zgo.at; style-src 'sha256-a4TPKWHB0aSu7cV10GthTEySTJ0w4r0bw6Q8JsNYMbk=' 'sha256-gyxzfgCOxeAAL8URUdaW2nHYDOr9bzbwFjgSqi7D+8U='; form-action 'none'; base-uri 'self'; frame-ancestors https://kagi.com; connect-src https://alanpearce-eu.goatcounter.com/count"
+        },
+        {
+          "key": "Cache-Control",
+          "value": "max-age=14400, s-maxage=86400, state-while-revalidate"
+        }
+      ]
+    }
+  ]
+}