website: use ghcr proxy for registry

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-10-11 10:08:17 +02:00
parent f4322e665a
commit da443b443c
1 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
[[redirects]]
from = "/v2/*"
to = "https://registry.goauthentik.io/v2/:splat"
from = "/v2/"
to = "https://ghcr.registry.beryju.org/v2/"
status = 200
force = true
[[redirects]]
from = "/v2/*"
to = "https://ghcr.registry.beryju.org/v2/goauthentik/:splat"
status = 200
force = true