Merge pull request #1886 from davidmehren/fix/worker_x_forwarded

Synapse workers should respect X-Forwarded headers
development
Slavi Pantaleev 2 years ago committed by GitHub
commit de742830e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save