summary refs log tree commit diff
path: root/docs/workers.rst
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-08-20 11:12:18 +0100
committerErik Johnston <erik@matrix.org>2018-08-20 11:12:18 +0100
commitf5abc10724c1e7ebc12102109c937c3060d58aaa (patch)
treee7a9c29027dbecea08c100912c7d798be35b41df /docs/workers.rst
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
parentMerge pull request #3713 from matrix-org/erikj/fixup_fed_logging (diff)
downloadsynapse-f5abc10724c1e7ebc12102109c937c3060d58aaa.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'docs/workers.rst')
-rw-r--r--docs/workers.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/workers.rst b/docs/workers.rst

index ac9efb621f..aec319dd84 100644 --- a/docs/workers.rst +++ b/docs/workers.rst
@@ -241,6 +241,14 @@ regular expressions:: ^/_matrix/client/(api/v1|r0|unstable)/keys/upload +If ``use_presence`` is False in the homeserver config, it can also handle REST +endpoints matching the following regular expressions:: + + ^/_matrix/client/(api/v1|r0|unstable)/presence/[^/]+/status + +This "stub" presence handler will pass through ``GET`` request but make the +``PUT`` effectively a no-op. + It will proxy any requests it cannot handle to the main synapse instance. It must therefore be configured with the location of the main instance, via the ``worker_main_http_uri`` setting in the frontend_proxy worker configuration