From b2d99412e32990a4172b55a5b69a0496d0c1a590 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 1 Jun 2024 19:14:31 +0200 Subject: no more CI --- vercel.json | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 vercel.json (limited to 'vercel.json') 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" + } + ] + } + ] +} -- cgit 1.4.1