Browse Source

Fix yaml syntax breakage

Regression since 67a445a74a
pull/21/head
Slavi Pantaleev 8 years ago
parent
commit
95a6519876
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      roles/matrix-server/templates/synapse/homeserver.yaml.j2

+ 2
- 2
roles/matrix-server/templates/synapse/homeserver.yaml.j2 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.


Loading…
Cancel
Save