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: