From 95a6519876823bad99182d67df0c4755f15213bb Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 25 Oct 2018 18:15:56 +0300 Subject: [PATCH] Fix yaml syntax breakage Regression since 67a445a74ae817 --- roles/matrix-server/templates/synapse/homeserver.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/matrix-server/templates/synapse/homeserver.yaml.j2 b/roles/matrix-server/templates/synapse/homeserver.yaml.j2 index 2b914e5e..90bd2120 100644 --- a/roles/matrix-server/templates/synapse/homeserver.yaml.j2 +++ b/roles/matrix-server/templates/synapse/homeserver.yaml.j2 @@ -126,9 +126,9 @@ federation_domain_whitelist: {{ matrix_synapse_federation_domain_whitelist|to_js # List of ports that Synapse should listen on, their purpose and their # configuration. listeners: +{% if matrix_synapse_federation_enabled %} # Main HTTPS listener # For when matrix traffic is sent directly to synapse. - {% if matrix_synapse_federation_enabled %} - # The port to listen for HTTPS requests on. port: 8448 @@ -161,7 +161,7 @@ listeners: # "/_matrix/my/custom/endpoint": # module: my_module.CustomRequestHandler # config: {} - {% endif %} +{% endif %} # Unsecure HTTP listener, # For when matrix traffic passes through loadbalancer that unwraps TLS.