diff --git a/traefik/rules.yaml b/traefik/rules.yaml index 1d498f9..534e902 100644 --- a/traefik/rules.yaml +++ b/traefik/rules.yaml @@ -48,8 +48,8 @@ http: replacement: "/$2" redirectregex-gitea: redirectRegex: - regex: "^https://huguettes.freeboxos.fr/(.*)" - replacement: "https://huguettes.freeboxos.fr/gitea/${1}" + regex: "^https://(.*)/(.*)" + replacement: "https://huguettes.freeboxos.fr/gitea/$2" tls: stores: