1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-11-14 22:51:33 -05:00
Synapse-Ubuntu-ZFS/etc/matrix-synapse/conf.d/media.yaml
wj25czxj47bu6q 086052efc0
Reduce remote media lifetime
Freed almost 600 GB of storage

Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com>
2024-10-27 05:43:56 +00:00

27 lines
557 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'