Update to 2021-02-25 19:00

master
Daniel Berteaud 4 years ago
parent f549a87e07
commit 251fcb5afa
  1. 9
      roles/matrix_synapse/defaults/main.yml
  2. 4
      roles/matrix_synapse/templates/homeserver.yaml.j2

@ -1,7 +1,7 @@
---
# Synapse version to deploy
synapse_version: 1.27.0
synapse_version: 1.28.0
# Synapse install dir
synapse_root_dir: /opt/matrix/synapse
@ -78,6 +78,13 @@ synapse_url_preview_ip_range_blacklist:
- '100.64.0.0/10'
- '169.254.0.0/16'
synapse_url_preview_ip_range_whitelist: []
synapse_url_preview_url_blacklist: []
# synapse_url_preview_url_blacklist:
# - username: '*'
# - netloc: '*.example.org'
# path: /admin
# - scheme: http
# - netloc: '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'
synapse_max_spider_size: 10M
# Turn configuration, for VoIP/Video using WebRTC

@ -129,6 +129,10 @@ url_preview_ip_range_whitelist:
- '{{ ip }}'
{% endfor %}
{% endif %}
{% if synapse_url_preview_url_blacklist is defined and synapse_url_preview_url_blacklist | length > 0 %}
url_preview_url_blacklist:
{{ synapse_url_preview_url_blacklist | to_nice_yaml(indent=2, width=1000) }}
{% endif %}
max_spider_size: {{ synapse_max_spider_size }}
{% endif %}

Loading…
Cancel
Save