From da443b443cfb42cfb2d4734d6bb461f00b4d5958 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 11 Oct 2021 10:08:17 +0200 Subject: [PATCH] website: use ghcr proxy for registry Signed-off-by: Jens Langhammer --- website/netlify.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/website/netlify.toml b/website/netlify.toml index 6424c70a8..1b07e6453 100644 --- a/website/netlify.toml +++ b/website/netlify.toml @@ -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