docs(matrix): fix the bug-as-behaviour and must wording mara flagged
matrix.md no longer documents the .well-known/discovery domain mismatch as a fact to work around (that's #4878's fix to make); same fix applied to gateway.md's Discovery flow section, which stated the identical bug and told the operator how to route around it. The serverName-pinning note no longer says the module requires pinning it (nothing enforces that) — it states the consequence of not pinning it instead. Refs #3902
This commit is contained in:
parent
5ec658e0fa
commit
e27c305995
2 changed files with 3 additions and 9 deletions
|
|
@ -234,8 +234,6 @@ matrix-dart-sdk (FluffyChat and others) always fetches the well-known over `http
|
|||
|
||||
Federation peers fetch `.well-known/matrix/server` → `{"m.server":"chat.<swarm>:<httpsPort>"}`. The port is always explicit, even 443: a delegated host without a port means the federation default 8448, not 443. Peers then reach `/_matrix/` on the chat vhost through the gateway, so the gateway must be reachable from them (`gateway.openFirewall`).
|
||||
|
||||
⚠️ The gateway serves both `.well-known` routes on the **hive** vhost only. Matrix looks them up at the `serverName`, which defaults to the bare swarm domain, so a lookup against the swarm domain reaches the swarm UI's apex vhost and finds nothing — pin `serverName` to the hive domain, or serve `.well-known` at the swarm domain yourself.
|
||||
|
||||
## Sub-domain shape (rationale)
|
||||
|
||||
Sub-domain for forge and matrix, sub-path for per-agent UIs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue