Add a matrix_synapse_url_preview_ip_range_whitelist variable

This commit is contained in:
Slavi Pantaleev
2025-02-21 23:05:14 +02:00
parent 0d7d5e6a19
commit 72280bbbb2
2 changed files with 6 additions and 2 deletions

View File

@ -778,6 +778,9 @@ matrix_synapse_url_preview_ip_range_blacklist:
- 'ff00::/8'
- 'fec0::/10'
# List of IP address CIDR ranges that the URL preview spider is allowed to access even if they are specified in `matrix_synapse_url_preview_ip_range_blacklist`.
matrix_synapse_url_preview_ip_range_whitelist: []
# A list of values for the Accept-Language HTTP header used when downloading webpages during URL preview generation
matrix_url_preview_accept_language: ['en-US', 'en']