mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-09-21 07:10:09 +00:00
Redirect the homeserver root path to any enabled web client, not just Element Web
Visiting the homeserver's root path used to redirect to Element Web, but only when Element Web was the client the playbook installed. People running Cinny, Commet, FluffyChat, Hydrogen, SchildiChat or Sable landed on a bare homeserver page instead. The wiring now builds matrix_playbook_public_client_urls — the public URLs of every playbook-managed web client which is enabled, ordered by preference — and redirects to the first of them. Element Web stays first, so existing setups redirect exactly where they did before. The URL is computed once and shared by all five homeserver implementations, which each carried their own copy of the old Element-Web-only expression. It honours each client's own scheme, hostname and path prefix, so a client served under a subpath now gets linked correctly. Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/5513 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
831fb228d9
commit
5e2a2f8049
@@ -1,5 +1,13 @@
|
||||
# 2026-08-13
|
||||
|
||||
## The homeserver root path redirects to clients other than Element Web
|
||||
|
||||
Visiting `https://matrix.example.com/` used to redirect you to [Element Web](docs/configuring-playbook-client-element-web.md), but only if Element Web was the client installed by the playbook. With any of the other web clients (Cinny, Commet, FluffyChat, Hydrogen, SchildiChat, Sable), you would land on a bare Synapse page.
|
||||
|
||||
The redirection now follows whichever of these clients you have enabled. When several are enabled, Element Web wins, followed by the others in the order that [`group_vars/matrix_servers`](group_vars/matrix_servers) lists them.
|
||||
|
||||
To send people somewhere else (or nowhere at all), define `matrix_playbook_public_client_root_redirection_url` in your `vars.yml` file. An empty value disables the redirection.
|
||||
|
||||
## Support for Meowlnir
|
||||
|
||||
The playbook can now install [Meowlnir](https://github.com/maunium/meowlnir), an opinionated Matrix moderation bot, optimized for Synapse.
|
||||
|
||||
Reference in New Issue
Block a user