[__matrix_synapse_worker] bind both v6 and v4, set x_forwarded

This commit is contained in:
fnux 2021-02-18 16:03:59 +01:00
parent f3d8717e69
commit 467a1350bf
No known key found for this signature in database
GPG key ID: 4502C902C00A1E12

View file

@ -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