mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-21 17:15:38 +03:00
docs
This commit is contained in:
parent
ea44779bb7
commit
9a49bea3af
2 changed files with 12 additions and 0 deletions
|
@ -534,6 +534,8 @@ Valid resource names are:
|
|||
for [workers](../../workers.md) and containers without listener e.g.
|
||||
[application services](../../workers.md#notifying-application-services).
|
||||
|
||||
* `admin`: the admin API (/_synapse/admin)
|
||||
|
||||
Example configuration #1:
|
||||
```yaml
|
||||
listeners:
|
||||
|
|
|
@ -329,6 +329,16 @@ with `client` and `federation` `resources` must be configured in the
|
|||
[`worker_listeners`](usage/configuration/config_documentation.md#worker_listeners)
|
||||
option in the worker config.
|
||||
|
||||
The following admin APIs are now available to be handled by workers, with more forthcoming:
|
||||
|
||||
# Admin APIs
|
||||
"^/_synapse/admin/v2/rooms/.*$"
|
||||
|
||||
Note that a [HTTP listener](usage/configuration/config_documentation.md#listeners)
|
||||
with `admin` and `replication `resources` must be configured in the
|
||||
[`worker_listeners`](usage/configuration/config_documentation.md#worker_listeners)
|
||||
option in the worker config.
|
||||
|
||||
#### Load balancing
|
||||
|
||||
It is possible to run multiple instances of this worker app, with incoming requests
|
||||
|
|
Loading…
Reference in a new issue