docs: matrix gateway vhost defaults to chat.<swarm-domain>, not matrix.<domain>

This commit is contained in:
damocles 2026-09-07 16:02:00 +02:00 committed by mara
commit 451b461afb
5 changed files with 17 additions and 13 deletions

View file

@ -42,8 +42,9 @@ let
publicPort = cfg.httpsPort;
publicPortSuffix = if publicPort == 443 then "" else ":${toString publicPort}";
# `<hive>/matrix/*` → 301 → `matrix.<hive>/$1` (legacy deep-link
# shim during the fluffychat sub-domain move). See `docs/networking/gateway.md`.
# `<hive>/matrix/*` → 301 → `gatewayHost`'s vhost/$1 (`chat.<swarm-domain>`
# by default; legacy deep-link shim during the fluffychat sub-domain move).
# See `docs/networking/gateway.md`.
matrixRedirectLocations =
lib.optionalAttrs
(matrixDeployCfg.enable && matrixDeployCfg.gui.enable && matrixCfg.gatewayHost != null)