From c76dda3313fa05c7c513a0f5def22fc00fee0580 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Wed, 21 Aug 2024 20:59:22 -0500 Subject: [PATCH] add redirect rules --- .../platform/authentik/templates/http-route.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/clusters/cl01tl/platform/authentik/templates/http-route.yaml b/clusters/cl01tl/platform/authentik/templates/http-route.yaml index fddcad658..dc27f478f 100644 --- a/clusters/cl01tl/platform/authentik/templates/http-route.yaml +++ b/clusters/cl01tl/platform/authentik/templates/http-route.yaml @@ -55,7 +55,11 @@ spec: - auth.alexlebens.net rules: - filters: - - type: RequestRedirect - requestRedirect: - scheme: https - statusCode: 301 + - requestRedirect: + scheme: https + statusCode: 301 + type: RequestRedirect + matches: + - path: + type: PathPrefix + value: /