From 523bdf5baf6c4c9afa5993f8c855958d56273b1b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 12 Aug 2019 17:38:20 +0200 Subject: [PATCH] fix indentation --- templates/opt/matrix/config/homeserver.yml.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/opt/matrix/config/homeserver.yml.j2 b/templates/opt/matrix/config/homeserver.yml.j2 index e286553..62552f8 100644 --- a/templates/opt/matrix/config/homeserver.yml.j2 +++ b/templates/opt/matrix/config/homeserver.yml.j2 @@ -64,7 +64,7 @@ listeners: # TLS-enabled listener: for when matrix traffic is sent directly to synapse. - port: {{ matrix_https_bind_port }} bind_addresses: - {{ matrix_https_bind_ips | to_nice_yaml | indent(6) }} + {{ matrix_https_bind_ips | to_nice_yaml | indent(6) }} type: http {% if matrix_tls_enabled %} tls: true @@ -80,7 +80,7 @@ listeners: - port: {{ matrix_http_bind_port }} tls: false bind_addresses: - {{ matrix_http_bind_ips | to_nice_yaml | indent(6) }} + {{ matrix_http_bind_ips | to_nice_yaml | indent(6) }} type: http x_forwarded: true @@ -269,7 +269,7 @@ url_preview_enabled: {{ 'true' if matrix_url_preview_enabled else 'false' }} # from accessing. {% if matrix_url_preview_ip_blacklist is defined %} url_preview_ip_range_blacklist: -{{ matrix_url_preview_ip_blacklist | to_nice_yaml | indent(4) }} + {{ matrix_url_preview_ip_blacklist | to_nice_yaml | indent(2) }} {% endif %} # List of IP address CIDR ranges that the URL preview spider is allowed @@ -280,7 +280,7 @@ url_preview_ip_range_whitelist: [] # denied from accessing. {% if matrix_url_preview_url_blacklist is defined %} url_preview_url_blacklist: -{{ matrix_url_preview_url_blacklist | to_nice_yaml | indent(2) }} + {{ matrix_url_preview_url_blacklist | to_nice_yaml | indent(2) }} {% endif %} # The largest allowed URL preview spidering size in bytes