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"
|
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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user