mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 13:37:40 +00:00
docs: allow privacy friendly analytics in docs page and set hsts (#3006)
* chore: prepare deployment to netlify instead of cloudflare * add badge
This commit is contained in:
parent
456d32dd0d
commit
311df70a3f
@ -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.
|
||||
|
23
docs/netlify.toml
Normal file
23
docs/netlify.toml
Normal file
@ -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'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user