diff options
author | villepeh <100730729+villepeh@users.noreply.github.com> | 2023-01-13 16:06:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 14:06:58 +0000 |
commit | d344bc8b6ea14210614845f4e0af776013f86459 (patch) | |
tree | c19fa2334b6bf2494592f3e50e36dd73b16e0f07 /contrib/workers-bash-scripts/create-multiple-generic-workers.md | |
parent | Add some clarifying comments and refactor a portion of the `Keyring` class fo... (diff) | |
download | synapse-d344bc8b6ea14210614845f4e0af776013f86459.tar.xz |
Include `x_forwarded` in workers example configs (#14667)
Diffstat (limited to 'contrib/workers-bash-scripts/create-multiple-generic-workers.md')
-rw-r--r-- | contrib/workers-bash-scripts/create-multiple-generic-workers.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/workers-bash-scripts/create-multiple-generic-workers.md b/contrib/workers-bash-scripts/create-multiple-generic-workers.md index c9be707b3c..63d0038a7d 100644 --- a/contrib/workers-bash-scripts/create-multiple-generic-workers.md +++ b/contrib/workers-bash-scripts/create-multiple-generic-workers.md @@ -15,19 +15,19 @@ worker_name: generic_worker$i worker_replication_host: 127.0.0.1 worker_replication_http_port: 9093 -worker_main_http_uri: http://localhost:8008/ - worker_listeners: - type: http port: 808$i + x_forwarded: true resources: - names: [client, federation] worker_log_config: /etc/matrix-synapse/generic-worker-log.yaml +#worker_pid_file: DATADIR/generic_worker$i.pid EOF done ``` This would create five generic workers with a unique `worker_name` field in each file and listening on ports 8081-8085. -Customise the script to your needs. +Customise the script to your needs. Note that `worker_pid_file` is required if `worker_daemonize` is `true`. Uncomment and/or modify the line if needed. |