From 4e3caba690c9d46cdc6daebe6c286bba96f7dda6 Mon Sep 17 00:00:00 2001 From: rpwolff Date: Fri, 15 Mar 2024 19:13:22 +0100 Subject: [PATCH] Livetime und url Vorschau an --- synapse/homeserver.yaml | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/synapse/homeserver.yaml b/synapse/homeserver.yaml index f101b97..ddfcf3d 100755 --- a/synapse/homeserver.yaml +++ b/synapse/homeserver.yaml @@ -67,8 +67,51 @@ email: invite_client_location: "https://matrix-client.server-nb.de" client_base_url: "https://matrix.server-nb.de" +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' +max_spider_size: 8M +url_preview_accept_language: + - 'de' + - 'en' + - 'en-US;q=0.9' + - 'fr;q=0.8' + - '*;q=0.7' + +retention: + enabled: true + default_policy: +# min_lifetime: 1d +# max_lifetime: 1y + allowed_lifetime_min: 1d + allowed_lifetime_max: 1y + purge_jobs: + - longest_max_lifetime: 3d + interval: 12h + - shortest_max_lifetime: 3d + interval: 1d + + ## TURN ## turn_uris: ["turn:turn.server-nb.de:3478?transport=udp", "turn:turn.server-nb.de:3478?transport=tcp"] turn_shared_secret: "WXe9ew8vNsYhvprJgMZNfZurVM2W31hwtBiTevIDEMJ3TVSiHvueEIC"