From 41de7d2dfa9834e7f612bf09a18bd39d229bdec6 Mon Sep 17 00:00:00 2001 From: Joep de Jong Date: Thu, 2 Nov 2023 22:01:24 +0100 Subject: [PATCH] Events statuscode 301 --- apps/events/httproute.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/events/httproute.yaml b/apps/events/httproute.yaml index 7bd2d9c7..791dd600 100644 --- a/apps/events/httproute.yaml +++ b/apps/events/httproute.yaml @@ -20,12 +20,13 @@ spec: filters: - type: RequestRedirect requestRedirect: + hostname: ch.tudelft.nl path: type: ReplacePrefixMatch replacePrefixMatch: /events - statusCode: 302 + statusCode: 301 - matches: - - path: + - path: type: PathPrefix value: /events backendRefs: