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 certresolver: myresolver
middlewares: middlewares:
- nas-replacepathregex - nas-replacepathregex
- nas-redirectregex
services: services:
service-dsm: service-dsm:
loadBalancer: loadBalancer:
@ -19,9 +18,5 @@ http:
middlewares: middlewares:
nas-replacepathregex: nas-replacepathregex:
replacepathregex: replacepathregex:
regex: ^/nas/(.*) regex: "^/nas/(.*)"
replacement: /$$1 replacement: "/$1"
nas-redirectregex:
redirectregex:
regex: ^(.*)/nas$$
replacement: $$1/nas/