zitadel/docs/netlify.toml

28 lines
615 B
TOML
Raw Normal View History

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