From 863c67cb048d2d4d21b50ae3bdd53d309c3f256c Mon Sep 17 00:00:00 2001 From: COxDE <63153334+coxde@users.noreply.github.com> Date: Mon, 24 Jun 2024 09:53:38 +0100 Subject: [PATCH] [docs] fix: traefik redirect regex (#3032) --- docs/advanced/host-account-domain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced/host-account-domain.md b/docs/advanced/host-account-domain.md index d9223a773..488fafd9b 100644 --- a/docs/advanced/host-account-domain.md +++ b/docs/advanced/host-account-domain.md @@ -98,8 +98,8 @@ myservice: labels: - 'traefik.http.routers.myservice.rule=Host(`example.org`)' # account-domain - 'traefik.http.middlewares.myservice-gts.redirectregex.permanent=true' - - 'traefik.http.middlewares.myservice-gts.redirectregex.regex=^https://(.*)/.well-known/(webfinger|nodeinfo|host-meta)$$' # host - - 'traefik.http.middlewares.myservice-gts.redirectregex.replacement=https://social.$${1}/.well-known/$${2}' # host + - 'traefik.http.middlewares.myservice-gts.redirectregex.regex=^https://(.*)/.well-known/(webfinger|nodeinfo|host-meta)(\?.*)?$' # host + - 'traefik.http.middlewares.myservice-gts.redirectregex.replacement=https://social.$${1}/.well-known/$${2}$${3}' # host - 'traefik.http.routers.myservice.middlewares=myservice-gts@docker' ```