From 467a1350bf10dbab8f606e149326a95d6fa6e397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Thu, 18 Feb 2021 16:03:59 +0100 Subject: [PATCH] [__matrix_synapse_worker] bind both v6 and v4, set x_forwarded --- type/__matrix_synapse_worker/files/worker.yaml.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/type/__matrix_synapse_worker/files/worker.yaml.sh b/type/__matrix_synapse_worker/files/worker.yaml.sh index 6d885c6..a21d64c 100755 --- a/type/__matrix_synapse_worker/files/worker.yaml.sh +++ b/type/__matrix_synapse_worker/files/worker.yaml.sh @@ -11,12 +11,14 @@ worker_replication_http_port: ${WORKER_REPLICATION_PORT:?} worker_listeners: - type: http port: ${WORKER_PORT:?} + x_forwarded: true + bind_addresses: ['::1', '127.0.0.1'] resources: - names: EOF for resource in ${WORKER_RESOURCES:?}; do -echo " - \"$resource\"" +echo " - $resource" done cat << EOF