mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-19 10:49:44 +02:00
Add matrix_synapse_url_preview_url_blacklist var (#4641)
* synapse - introduce matrix_synapse_url_preview_url_blacklist var * Preserve original comments around `url_preview_url_blacklist` --------- Co-authored-by: Aleksandrs Jansons <alex@peledu.casa> Co-authored-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
committed by
GitHub
parent
1c4738b89a
commit
8511d4dfc4
@@ -1178,6 +1178,9 @@ url_preview_ip_range_whitelist: {{ matrix_synapse_url_preview_ip_range_whitelist
|
||||
#
|
||||
# # blacklist any URL with a literal IPv4 address
|
||||
# - netloc: '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'
|
||||
{% if matrix_synapse_url_preview_url_blacklist | length > 0 %}
|
||||
url_preview_url_blacklist: {{ matrix_synapse_url_preview_url_blacklist | to_json }}
|
||||
{% endif %}
|
||||
|
||||
# The largest allowed URL preview spidering size in bytes
|
||||
#
|
||||
|
Reference in New Issue
Block a user