From 0f295d8c9b3d0ade80ff5f454918ff980d55b350 Mon Sep 17 00:00:00 2001 From: mathieu Date: Mon, 20 May 2024 16:59:10 +0200 Subject: [PATCH] chore --- rules.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/rules.yaml b/rules.yaml index 3bf56d1..147f0c6 100644 --- a/rules.yaml +++ b/rules.yaml @@ -7,7 +7,6 @@ http: certresolver: myresolver middlewares: - nas-replacepathregex - - nas-redirectregex services: service-dsm: loadBalancer: @@ -19,9 +18,5 @@ http: middlewares: nas-replacepathregex: replacepathregex: - regex: ^/nas/(.*) - replacement: /$$1 - nas-redirectregex: - redirectregex: - regex: ^(.*)/nas$$ - replacement: $$1/nas/ \ No newline at end of file + regex: "^/nas/(.*)" + replacement: "/$1"