Add some variables for controlling x_forwarded settings for Synapse listeners

This commit is contained in:
Slavi Pantaleev
2025-09-16 18:17:35 +03:00
parent 38b40242c4
commit d8eed6bfd3
3 changed files with 20 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ worker_listeners:
{% if http_resources|length > 0 %}
- type: http
bind_addresses: ['::']
x_forwarded: true
x_forwarded: {{ matrix_synapse_worker_listeners_http_main_x_forwarded | to_json }}
port: {{ matrix_synapse_worker_details.port }}
resources:
- names: {{ http_resources|to_json }}