[__matrix_synapse_worker] bind both v6 and v4, set x_forwarded
This commit is contained in:
parent
f3d8717e69
commit
467a1350bf
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue