Fix yaml syntax breakage

Regression since 67a445a74a
This commit is contained in:
Slavi Pantaleev 2018-10-25 18:15:56 +03:00
parent 67a445a74a
commit 95a6519876

View File

@ -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 # List of ports that Synapse should listen on, their purpose and their
# configuration. # configuration.
listeners: listeners:
{% if matrix_synapse_federation_enabled %}
# Main HTTPS listener # Main HTTPS listener
# For when matrix traffic is sent directly to synapse. # For when matrix traffic is sent directly to synapse.
{% if matrix_synapse_federation_enabled %}
- -
# The port to listen for HTTPS requests on. # The port to listen for HTTPS requests on.
port: 8448 port: 8448
@ -161,7 +161,7 @@ listeners:
# "/_matrix/my/custom/endpoint": # "/_matrix/my/custom/endpoint":
# module: my_module.CustomRequestHandler # module: my_module.CustomRequestHandler
# config: {} # config: {}
{% endif %} {% endif %}
# Unsecure HTTP listener, # Unsecure HTTP listener,
# For when matrix traffic passes through loadbalancer that unwraps TLS. # For when matrix traffic passes through loadbalancer that unwraps TLS.