dispatch main requests to main server
This commit is contained in:
parent
bde6eb5642
commit
0a2f602ff3
3 changed files with 16 additions and 26 deletions
|
|
@ -1,14 +0,0 @@
|
|||
worker_app: synapse.app.generic_worker
|
||||
worker_name: synapse-generic-worker-sync
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8083
|
||||
resources:
|
||||
- names: [client]
|
||||
- type: http
|
||||
port: 9083
|
||||
resources:
|
||||
- names: [replication]
|
||||
|
||||
worker_log_config: /data/generic-worker-log.yaml
|
||||
|
|
@ -2,9 +2,10 @@ worker_app: synapse.app.generic_worker
|
|||
worker_name: synapse-worker-generic
|
||||
|
||||
worker_listeners:
|
||||
- type: http
|
||||
port: 8008
|
||||
- port: 8008
|
||||
type: http
|
||||
tls: false
|
||||
x_forwarded: true
|
||||
resources:
|
||||
- names:
|
||||
- client
|
||||
- federation
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue