From cb25070960ee9960b43ca294d6eac4fa471d5111 Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Mon, 30 Sep 2024 23:40:02 +0200 Subject: [PATCH] more rewrites Signed-off-by: Peter Siegmund --- src/main/resources/application.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index ecc092e..51e04b9 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -49,9 +49,10 @@ spring: - id: eureka-service uri: lb://eureka-service predicates: - - Path=/discovery/** + - Path=/services/**, /eureka/**, /health/eureka filters: - - StripPrefix=1 + - RewritePath=/services, / + - RewritePath=/health/eureka, /actuator/health - id: timezone-service uri: lb://timezone-service