Add some to_json invocations

This commit is contained in:
Slavi Pantaleev 2021-11-15 14:48:25 +02:00 committed by GitHub
parent 8c3e25de1b
commit edf63bfdd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -269,14 +269,14 @@ default_room_version: {{ matrix_synapse_default_room_version|to_json }}
listeners:
{% if matrix_synapse_metrics_enabled %}
- type: metrics
port: {{ matrix_synapse_metrics_port }}
port: {{ matrix_synapse_metrics_port|to_json }}
bind_addresses:
- '0.0.0.0'
{% endif %}
{% if matrix_synapse_federation_port_enabled and matrix_synapse_tls_federation_listener_enabled %}
# TLS-enabled listener: for when matrix traffic is sent directly to synapse.
- port: {{ matrix_synapse_container_federation_api_port }}
- port: {{ matrix_synapse_container_federation_api_port|to_json }}
tls: true
bind_addresses: ['::']
type: http