mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-23 16:02:14 +00:00
* chore(docs): fix links for domain migration * try trailing slash for netlify * trial * fix typo * test path * try preview proxied * test local proxy * try to define the domain with redirect to /docs * remove build commands * debug netlify router and fix image link * working config * fix analytics
36 lines
751 B
TOML
36 lines
751 B
TOML
[build]
|
|
command = "npm run build"
|
|
|
|
# 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 = "/proxy/js/script.js"
|
|
to = "https://plausible.io/js/script.outbound-links.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'''
|
|
|
|
[[redirects]]
|
|
from = "/quickstarts/introduction"
|
|
to = "/examples/introduction"
|
|
status = 301
|