fix: Add URL preview blacklist and fix metrics config

This commit is contained in:
Apple
2025-11-26 12:00:06 -08:00
parent a1b400bf69
commit 385a9382fa

View File

@@ -41,6 +41,23 @@ enable_registration_without_verification: false
media_store_path: /data/media_store
max_upload_size: 50M
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'
- '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'
# Signing keys
signing_key_path: /data/signing.key
@@ -68,7 +85,6 @@ trusted_key_servers:
# Metrics (optional, for monitoring)
enable_metrics: true
metrics_port: 9000
# TURN server (for voice/video calls)
turn_uris: