zitadel/docs/netlify.toml
Florian Forster 83f96b49aa
docs: fix preview link (#4965)
test netlify

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-01-03 10:14:13 +00:00

22 lines
436 B
TOML

# 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
[[redirects]]
from = "/"
to = "/docs"
status = 302
force = true
[[headers]]
for = "/*"
[headers.values]
Strict-Transport-Security = '''
max-age=31536000;
includeSubDomains;
preload'''