1 # To configure workers please refer to:
2 # https://github.com/matrix-org/synapse/blob/master/docs/workers.md
4 # The type of the worker. A generic_worker can handle a part of the
5 # client/federation API requests, taking some load from the master
7 # If used, the reverse proxy has to be configured accordingly.
8 worker_app: synapse.app.generic_worker
10 # The name of the worker. Must be unique among all workers.
13 # The replication listener on the main synapse process.
14 worker_replication_host: '127.0.0.1'
15 worker_replication_http_port: 9093
20 bind_address: '127.0.0.1'
23 # Uncomment the following to make this worker respect the
24 # X-Forwarded-For header set by your reverse proxy.
27 # Because a generic_worker handles client and federation API requests
28 # it needs the client and federation resources.
34 worker_log_config: /etc/synapse/log_config.yaml