From 8e506a2791fa4c381f10845c886ebe83b5c82738 Mon Sep 17 00:00:00 2001 From: mathieu Date: Sat, 25 May 2024 23:32:09 +0200 Subject: [PATCH] rules --- traefik/rules.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/traefik/rules.yaml b/traefik/rules.yaml index 8f8035b..04ad2e8 100644 --- a/traefik/rules.yaml +++ b/traefik/rules.yaml @@ -22,7 +22,9 @@ http: rule: "Host(`huguettes.freeboxos.fr`) && Path(`/firefly`)" service: "service-firefly" tls: {} - + middlewares: + - replacepathregex + - redirectregex-firefly services: service-dsm: @@ -60,6 +62,10 @@ http: redirectRegex: regex: "^https://(.*)/(.*)" replacement: "https://huguettes.freeboxos.fr/gitea/$2" + redirectregex-firefly: + redirectRegex: + regex: "^https://(.*)/(.*)" + replacement: "https://huguettes.freeboxos.fr/firefly/$2" tls: stores: