3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-10-19 06:33:24 +00:00

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

@@ -298,7 +298,7 @@ listeners:
tls: true
bind_addresses: ['::']
type: http
x_forwarded: false
x_forwarded: {{ matrix_synapse_container_federation_api_tls_x_forwarded | to_json }}
resources:
- names: {{ matrix_synapse_federation_listener_resource_names|to_json }}
@@ -311,7 +311,7 @@ listeners:
tls: false
bind_addresses: ['::']
type: http
x_forwarded: true
x_forwarded: {{ matrix_synapse_container_client_api_x_forwarded | to_json }}
resources:
- names: {{ matrix_synapse_http_listener_resource_names|to_json }}
@@ -324,7 +324,7 @@ listeners:
tls: false
bind_addresses: ['::']
type: http
x_forwarded: true
x_forwarded: {{ matrix_synapse_container_federation_api_plain_x_forwarded | to_json }}
resources:
- names: {{ matrix_synapse_federation_listener_resource_names|to_json }}