1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2025-01-21 05:21:45 -05:00
Synapse-Ubuntu-ZFS/etc/matrix-synapse/conf.d/media.yaml
wj25czxj47bu6q 799f6c372a
Disable authenticated media
As ArcticFoxes is a public server, authenticated media serves no purpose other than breaking certain clients.

Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com>
2024-12-19 05:50:35 +00:00

28 lines
591 B
YAML

max_upload_size: 30M
media_store_path: /var/lib/matrix-synapse/media
media_retention:
local_media_lifetime: 1y
remote_media_lifetime: 26w
url_preview_enabled: true
url_preview_ip_range_blacklist:
- '127.0.0.0/8'
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '100.64.0.0/10'
- '192.0.0.0/24'
- '169.254.0.0/16'
- '192.88.99.0/24'
- '198.18.0.0/15'
- '192.0.2.0/24'
- '198.51.100.0/24'
- '203.0.113.0/24'
- '224.0.0.0/4'
- '::1/128'
- 'fe80::/10'
- 'fc00::/7'
- '2001:db8::/32'
- 'ff00::/8'
- 'fec0::/10'
enable_authenticated_media: false