From d70465313b005be530fe498ab67594376aa39b25 Mon Sep 17 00:00:00 2001 From: MadLittleMods Date: Wed, 5 Jul 2023 23:54:53 +0000 Subject: deploy: b07b14b494ae1dd564b4c44f844c9a9545b3d08a --- develop/workers.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'develop/workers.html') diff --git a/develop/workers.html b/develop/workers.html index 691d228990..4b896abc35 100644 --- a/develop/workers.html +++ b/develop/workers.html @@ -628,6 +628,22 @@ the stream writer for the receipts stream:

the stream writer for the presence stream:

^/_matrix/client/(api/v1|r0|v3|unstable)/presence/
 
+

Restrict outbound federation traffic to a specific set of workers

+

The outbound_federation_restricted_to configuration is useful to make sure outbound +federation traffic only goes through a specified subset of workers. This allows you to +set more strict access controls (like a firewall) for all workers and only allow the +federation_sender's to contact the outside world.

+
instance_map:
+    main:
+        host: localhost
+        port: 8030
+    federation_sender1:
+        host: localhost
+        port: 8034
+
+outbound_federation_restricted_to:
+  - federation_sender1
+

Background tasks

There is also support for moving background tasks to a separate worker. Background tasks are run periodically or started via replication. Exactly -- cgit 1.4.1