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