diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-08-18 13:25:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-18 13:25:12 +0100 |
commit | 3692f7fd33ec2a28991ab325a46df5e7eba1f056 (patch) | |
tree | 0154fa42b8efa8ed276d882ff2d0ffb819d51bf0 /docs/workers.md | |
parent | fix broken link to upgrade notes (#10631) (diff) | |
download | synapse-3692f7fd33ec2a28991ab325a46df5e7eba1f056.tar.xz |
Mount /_synapse/admin/v1/users/{userId}/media admin API on media workers only (#10628)
Co-authored-by: Patrick Cloke <patrickc@matrix.org>
Diffstat (limited to 'docs/workers.md')
-rw-r--r-- | docs/workers.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/workers.md b/docs/workers.md index 1657dfc759..2e63f03452 100644 --- a/docs/workers.md +++ b/docs/workers.md @@ -426,10 +426,12 @@ Handles the media repository. It can handle all endpoints starting with: ^/_synapse/admin/v1/user/.*/media.*$ ^/_synapse/admin/v1/media/.*$ ^/_synapse/admin/v1/quarantine_media/.*$ + ^/_synapse/admin/v1/users/.*/media$ You should also set `enable_media_repo: False` in the shared configuration file to stop the main synapse running background jobs related to managing the -media repository. +media repository. Note that doing so will prevent the main process from being +able to handle the above endpoints. In the `media_repository` worker configuration file, configure the http listener to expose the `media` resource. For example: |