This commit is contained in:
mathieu 2024-05-20 16:59:10 +02:00
parent 4207f8a32e
commit 0f295d8c9b

View File

@ -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/
regex: "^/nas/(.*)"
replacement: "/$1"