Merge pull request #1886 from davidmehren/fix/worker_x_forwarded
Synapse workers should respect X-Forwarded headers
This commit is contained in:
commit
de742830e7
|
@ -26,6 +26,7 @@ worker_listeners:
|
||||||
{% if http_resources|length > 0 %}
|
{% if http_resources|length > 0 %}
|
||||||
- type: http
|
- type: http
|
||||||
bind_addresses: ['::']
|
bind_addresses: ['::']
|
||||||
|
x_forwarded: true
|
||||||
port: {{ matrix_synapse_worker_details.port }}
|
port: {{ matrix_synapse_worker_details.port }}
|
||||||
resources:
|
resources:
|
||||||
- names: {{ http_resources|to_json }}
|
- names: {{ http_resources|to_json }}
|
||||||
|
|
Loading…
Reference in a new issue