This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/website/netlify.toml
Jens Langhammer eda260dddd website: fix redirect
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-11-22 11:13:31 +01:00

43 lines
841 B
TOML

[[redirects]]
from = "/discord"
to = "https://discord.gg/jg33eMhnj6"
[[redirects]]
from = "/docs/integrations/*"
to = "/integrations/:splat"
[[redirects]]
from = "/*"
to = "/.netlify/functions/go-get"
status = 200
force = true
query = {go-get = "1"}
[[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.io/js/plausible.outbound-links.js"
status = 200
force = true
[[redirects]]
from = "/api/event"
to = "https://analytics.beryju.org/api/event"
status = 200
force = true