This commit is contained in:
mathieu 2024-05-25 23:32:09 +02:00
parent 952f24721a
commit 8e506a2791

View File

@ -22,7 +22,9 @@ http:
rule: "Host(`huguettes.freeboxos.fr`) && Path(`/firefly`)" rule: "Host(`huguettes.freeboxos.fr`) && Path(`/firefly`)"
service: "service-firefly" service: "service-firefly"
tls: {} tls: {}
middlewares:
- replacepathregex
- redirectregex-firefly
services: services:
service-dsm: service-dsm:
@ -60,6 +62,10 @@ http:
redirectRegex: redirectRegex:
regex: "^https://(.*)/(.*)" regex: "^https://(.*)/(.*)"
replacement: "https://huguettes.freeboxos.fr/gitea/$2" replacement: "https://huguettes.freeboxos.fr/gitea/$2"
redirectregex-firefly:
redirectRegex:
regex: "^https://(.*)/(.*)"
replacement: "https://huguettes.freeboxos.fr/firefly/$2"
tls: tls:
stores: stores: