e1899f0ad3
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
87 lines
1.9 KiB
TOML
87 lines
1.9 KiB
TOML
[[redirects]]
|
|
from = "/discord"
|
|
to = "https://discord.gg/jg33eMhnj6"
|
|
|
|
# Migration from docs to separate directory
|
|
[[redirects]]
|
|
from = "/docs/integrations/*"
|
|
to = "/integrations/:splat"
|
|
|
|
# Docusaurus update removes index
|
|
[[redirects]]
|
|
from = "/docs/:firstPart/index"
|
|
to = "/docs/:firstPart/"
|
|
status = 301
|
|
force = true
|
|
[[redirects]]
|
|
from = "/docs/:firstPart/:secondPart/index"
|
|
to = "/docs/:firstPart/:secondPart/"
|
|
status = 301
|
|
force = true
|
|
[[redirects]]
|
|
from = "/integrations/:firstPart/index"
|
|
to = "/integrations/:firstPart/"
|
|
status = 301
|
|
force = true
|
|
[[redirects]]
|
|
from = "/integrations/:firstPart/:secondPart/index"
|
|
to = "/integrations/:firstPart/:secondPart/"
|
|
status = 301
|
|
force = true
|
|
|
|
# Migrate API and blueprints into main docs
|
|
[[redirects]]
|
|
from = "/developer-docs/api*"
|
|
to = "/docs/api:splat"
|
|
[[redirects]]
|
|
from = "/developer-docs/blueprints*"
|
|
to = "/docs/blueprints:splat"
|
|
|
|
# Migrate base source docs into main section
|
|
[[redirects]]
|
|
from = "/integrations/sources*"
|
|
to = "/docs/sources:splat"
|
|
|
|
# Container registry
|
|
[[redirects]]
|
|
from = "/v2"
|
|
to = "/.netlify/functions/oci-proxy"
|
|
status = 200
|
|
force = true
|
|
|
|
[[redirects]]
|
|
from = "/v2/*"
|
|
to = "https://ghcr.io/v2/goauthentik/:splat"
|
|
status = 200
|
|
force = true
|
|
|
|
[[redirects]]
|
|
from = "/version/*"
|
|
to = "https://raw.githubusercontent.com/goauthentik/authentik/version-:splat"
|
|
|
|
[[redirects]]
|
|
from = "/js/script.js"
|
|
to = "https://plausible.a7k.io/js/plausible.outbound-links.js"
|
|
status = 200
|
|
force = true
|
|
|
|
[[redirects]]
|
|
from = "/api/event"
|
|
to = "https://plausible.a7k.io/api/event"
|
|
status = 200
|
|
force = true
|
|
|
|
[[redirects]]
|
|
from = "/community/show_setup"
|
|
to = "https://docs.google.com/forms/d/1g5W3kz-7EJ3zay8S3C5aN2vIdZQuzT_MJljb6yv80_I"
|
|
|
|
[[headers]]
|
|
for = "/*"
|
|
[headers.values]
|
|
X-Frame-Options = "DENY"
|
|
|
|
[dev]
|
|
command = "npm run watch"
|
|
targetPort = 3000
|
|
publish = "build"
|