chore: middlewares

This commit is contained in:
mathieu 2024-05-20 16:40:37 +02:00
parent be861aefcb
commit 95b8d39f11

View File

@ -5,10 +5,18 @@ http:
service: "service-dsm" service: "service-dsm"
tls: tls:
certresolver: myresolver certresolver: myresolver
middlewares: nas-redir
services: services:
service-dsm: service-dsm:
loadBalancer: loadBalancer:
passHostHeader: true passHostHeader: true
servers: servers:
- url: "http://192.168.1.100:5000" - url: "http://192.168.1.100:5000"
middlewares:
portainer-replacepathregex:
replacepathregex:
regex: ^/nas/(.*)
replacement: /$$1"