[[redirects]]
from = "/discord"
to = "https://discord.gg/jg33eMhnj6"
# Migration from docs to separate directory
from = "/docs/integrations/*"
to = "/integrations/:splat"
# Docusaurus update removes index
from = "/docs/:firstPart/index"
to = "/docs/:firstPart/"
status = 301
force = true
from = "/docs/:firstPart/:secondPart/index"
to = "/docs/:firstPart/:secondPart/"
from = "/integrations/:firstPart/index"
to = "/integrations/:firstPart/"
from = "/integrations/:firstPart/:secondPart/index"
to = "/integrations/:firstPart/:secondPart/"
# ?go-get=1 downloads
from = "/*"
to = "/.netlify/functions/go-get"
status = 200
query = {go-get = "1"}
# Container registry
from = "/v2"
to = "/.netlify/functions/oci-proxy"
from = "/v2/*"
to = "https://ghcr.io/v2/goauthentik/:splat"
from = "/version/*"
to = "https://raw.githubusercontent.com/goauthentik/authentik/version-:splat"
from = "/js/script.js"
to = "https://plausible.io/js/plausible.outbound-links.js"
from = "/api/event"
to = "https://plausible.io/api/event"