summaryrefslogtreecommitdiff
path: root/docs/advanced
diff options
context:
space:
mode:
authorLibravatar COxDE <63153334+coxde@users.noreply.github.com>2024-06-24 09:53:38 +0100
committerLibravatar GitHub <noreply@github.com>2024-06-24 10:53:38 +0200
commit863c67cb048d2d4d21b50ae3bdd53d309c3f256c (patch)
tree557baccd6531d7c3709272bc8e28c0394e0c9a02 /docs/advanced
parent[chore]: Bump github.com/minio/minio-go/v7 from 7.0.71 to 7.0.72 (#3037) (diff)
downloadgotosocial-863c67cb048d2d4d21b50ae3bdd53d309c3f256c.tar.xz
[docs] fix: traefik redirect regex (#3032)
Diffstat (limited to 'docs/advanced')
-rw-r--r--docs/advanced/host-account-domain.md4
1 files 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'
```