mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-02-23 09:09:49 +00:00
Do not define url_preview_ip_range_blacklist
in Synapse's homeserver.yaml
if URL preview is disabled
It's useless and just makes the config longer.
This commit is contained in:
parent
d9eabc49e6
commit
0d7d5e6a19
@ -1131,7 +1131,9 @@ url_preview_enabled: {{ matrix_synapse_url_preview_enabled|to_json }}
|
|||||||
#
|
#
|
||||||
# Note: The value is ignored when an HTTP proxy is in use
|
# Note: The value is ignored when an HTTP proxy is in use
|
||||||
#
|
#
|
||||||
|
{% if matrix_synapse_url_preview_enabled %}
|
||||||
url_preview_ip_range_blacklist: {{ matrix_synapse_url_preview_ip_range_blacklist | to_json }}
|
url_preview_ip_range_blacklist: {{ matrix_synapse_url_preview_ip_range_blacklist | to_json }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# List of IP address CIDR ranges that the URL preview spider is allowed
|
# List of IP address CIDR ranges that the URL preview spider is allowed
|
||||||
# to access even if they are specified in url_preview_ip_range_blacklist.
|
# to access even if they are specified in url_preview_ip_range_blacklist.
|
||||||
|
Loading…
Reference in New Issue
Block a user