summary refs log tree commit diff
path: root/docs/workers.md
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-08-18 14:23:52 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-08-18 14:23:52 +0100
commit2f4fe530a1cc12d6b7aec746bac55d40961616ac (patch)
treeaf56fac4739b696489f8e15617cbd81115b1a6cf /docs/workers.md
parentMerge branch 'release-v1.41' into matrix-org-hotfixes (diff)
parentMount /_synapse/admin/v1/users/{userId}/media admin API on media workers only... (diff)
downloadsynapse-2f4fe530a1cc12d6b7aec746bac55d40961616ac.tar.xz
Merge branch 'release-v1.41' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'docs/workers.md')
-rw-r--r--docs/workers.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/workers.md b/docs/workers.md

index d8672324c3..2e63f03452 100644 --- a/docs/workers.md +++ b/docs/workers.md
@@ -214,6 +214,7 @@ expressions: ^/_matrix/federation/v1/send/ # Client API requests + ^/_matrix/client/(api/v1|r0|unstable)/createRoom$ ^/_matrix/client/(api/v1|r0|unstable)/publicRooms$ ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/joined_members$ ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/context/.*$ @@ -425,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: