2024-05-18 21:35:51 +00:00
|
|
|
http:
|
|
|
|
routers:
|
|
|
|
router-dsm:
|
2024-05-20 11:48:16 +00:00
|
|
|
rule: "Host(`huguettes.freeboxos.fr`) && Path(`/nas`)"
|
2024-05-18 21:54:39 +00:00
|
|
|
service: "service-dsm"
|
2024-05-20 11:56:14 +00:00
|
|
|
tls:
|
2024-05-20 11:57:39 +00:00
|
|
|
certresolver: myresolver
|
2024-05-20 14:40:37 +00:00
|
|
|
middlewares: nas-redir
|
2024-05-18 21:35:51 +00:00
|
|
|
services:
|
|
|
|
service-dsm:
|
|
|
|
loadBalancer:
|
2024-05-19 08:39:27 +00:00
|
|
|
passHostHeader: true
|
2024-05-18 21:35:51 +00:00
|
|
|
servers:
|
2024-05-19 08:50:22 +00:00
|
|
|
- url: "http://192.168.1.100:5000"
|
2024-05-20 14:40:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
middlewares:
|
2024-05-20 14:42:35 +00:00
|
|
|
nas-redir:
|
2024-05-20 14:40:37 +00:00
|
|
|
replacepathregex:
|
|
|
|
regex: ^/nas/(.*)
|
|
|
|
replacement: /$$1"
|
|
|
|
|