chore(traefik): rules

This commit is contained in:
mathieu 2024-05-25 23:25:35 +02:00
parent a4b8d12ad2
commit d7621f5332

View File

@ -16,12 +16,15 @@ http:
service: "service-gitea"
tls: {}
middlewares:
- replacepathregex-gitea
- replacepathregex
- redirectregex-gitea
router-firefly:
rule: "Host(`huguettes.freeboxos.fr`) && Path(`/firefly`)"
service: "service-firefly"
tls: {}
middlewares:
- replacepathregex
services:
service-dsm:
@ -51,7 +54,7 @@ http:
replacepathregex:
regex: "^/nas/(.*)"
replacement: "/$1"
replacepathregex-gitea:
replacepathregex:
replacepathregex:
regex: "^(.*)/(.*)"
replacement: "/$2"