zitadel/docs/netlify.toml
Florian Forster 77e3d08f22
docs: split out self-hosting into new section (#4903)
* docs: split out self-hosting into section

* check for broken links

* fix netlify proxy forward

* use full path
2022-12-20 11:17:27 +01:00

28 lines
615 B
TOML

[[redirects]]
from = "/docs/guides/deploy/*"
to = "/docs/self-hosting/deploy/:splat"
status = 301
force = true
[[redirects]]
from = "/docs/guides/manage/self-hosted/*"
to = "/docs/self-hosting/manage/:splat"
status = 301
force = true
# This is a workaround to address the problem around the baseUrl from docusaurus
# Be aware that this prevents the usage of the path /docs/docs
[[redirects]]
from = "/docs/*"
to = "/:splat"
status = 200
force = true
[[headers]]
for = "/*"
[headers.values]
Strict-Transport-Security = '''
max-age=31536000;
includeSubDomains;
preload'''