diff --git a/docs/README.md b/docs/README.md index 6d1c3bdbc2..a0fcb8d286 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,5 @@ +[![Netlify Status](https://api.netlify.com/api/v1/badges/b82a23f7-d8c7-4025-af18-a46586e89ed0/deploy-status)](https://app.netlify.com/sites/zitadel-docs/deploys) + # Website This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator. diff --git a/docs/netlify.toml b/docs/netlify.toml new file mode 100644 index 0000000000..5a8c5cd91c --- /dev/null +++ b/docs/netlify.toml @@ -0,0 +1,23 @@ +[build] + command = "npm run build" + +[[redirects]] + from = "/proxy/js/script.js" + to = "https://plausible.io/js/plausible.js" + status = 200 + force = true + +[[redirects]] + from = "/proxy/api/event" + to = "https://plausible.io/api/event" + status = 202 + force = true + +[[headers]] + for = "/*" + [headers.values] + Strict-Transport-Security = ''' + max-age=31536000; + includeSubDomains; + preload''' +