zitadel/docs/netlify.toml
Florian Forster 311df70a3f
docs: allow privacy friendly analytics in docs page and set hsts (#3006)
* chore: prepare deployment to netlify instead of cloudflare

* add badge
2022-01-18 09:04:48 +01:00

24 lines
416 B
TOML

[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'''