chore: middlewares
This commit is contained in:
parent
be861aefcb
commit
95b8d39f11
10
rules.yaml
10
rules.yaml
@ -5,10 +5,18 @@ http:
|
||||
service: "service-dsm"
|
||||
tls:
|
||||
certresolver: myresolver
|
||||
|
||||
middlewares: nas-redir
|
||||
services:
|
||||
service-dsm:
|
||||
loadBalancer:
|
||||
passHostHeader: true
|
||||
servers:
|
||||
- url: "http://192.168.1.100:5000"
|
||||
|
||||
|
||||
middlewares:
|
||||
portainer-replacepathregex:
|
||||
replacepathregex:
|
||||
regex: ^/nas/(.*)
|
||||
replacement: /$$1"
|
||||
|
Loading…
Reference in New Issue
Block a user