diff --git a/synapse/homeserver.yaml b/synapse/homeserver.yaml index b7a8a1b..f63d37f 100644 --- a/synapse/homeserver.yaml +++ b/synapse/homeserver.yaml @@ -19,6 +19,7 @@ listeners: resources: - names: [client, federation] compress: false + database: name: psycopg2 args: @@ -28,6 +29,7 @@ database: host: synapse_postgres cp_min: 5 cp_max: 10 + log_config: "/data/viyurz.fr.log.config" media_store_path: /data/media_store enable_registration: true @@ -38,6 +40,9 @@ form_secret: "bj5sv.-B:R.2Z@@cK*rBti&J,v^34.gXNNR*5tNPWTUpkrE+Sv" signing_key_path: "/data/viyurz.fr.signing.key" trusted_key_servers: - server_name: "matrix.org" + +# max_upload_size: 50M # Changer aussi le max_body_size dans le reverse proxy +max_avatar_size: 2M url_preview_enabled: true url_preview_ip_range_blacklist: - '127.0.0.0/8'