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 L 5753182e03
root: migrate docker images to netlify proxy (#1603)
* migrate to netlify proxy

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* relative forward to func

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* custom logic for go paths

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* fix const

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* missing break

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* add default for new repos

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 10:58:02 +02:00

19 lines
327 B
TOML

[[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