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"