[__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: worker_listeners:
- type: http - type: http
port: ${WORKER_PORT:?} port: ${WORKER_PORT:?}
x_forwarded: true
bind_addresses: ['::1', '127.0.0.1']
resources: resources:
- names: - names:
EOF EOF
for resource in ${WORKER_RESOURCES:?}; do for resource in ${WORKER_RESOURCES:?}; do
echo " - \"$resource\"" echo " - $resource"
done done
cat << EOF cat << EOF