matrix/synapse/homeserver.yaml

121 lines
2.8 KiB
YAML
Raw Normal View History

2024-01-14 10:41:58 +01:00
# Configuration file for Synapse.
#
server_name: "matrix.server-nb.de"
pid_file: /data/homeserver.pid
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
database:
name: "psycopg2"
args:
user: "synapse"
password: "jgzqnGCq3KY28C"
database: "synapse"
host: "postgres"
port: "5432"
cp_min: 5
cp_max: 10
2024-01-17 20:42:24 +01:00
#
2024-01-14 10:41:58 +01:00
log_config: "/data/matrix.server-nb.de.log.config"
media_store_path: /data/media_store
registration_shared_secret: "Su.rA7J76@M1:IQLprWD1FXhjm~R0OgLQxThn6_K@Y*WE&V=eq"
2024-01-14 11:18:20 +01:00
registrations_require_3pid:
- email
disable_msisdn_registration: true
2024-01-14 10:41:58 +01:00
report_stats: false
macaroon_secret_key: "=1fWcdA*SW#keHXGg*JDY7RMDXe8g::lw@E8fypf3LgD87,ge7"
form_secret: "jo,.o;cmSAdWsIK-n1@l^h,L.uj4aiMJ:kW@;FVms,zoxZla.5"
signing_key_path: "/data/matrix.server-nb.de.signing.key"
trusted_key_servers:
- server_name: "matrix.org"
enable_registration: true
2024-01-15 09:34:32 +01:00
registration_requires_token: true
2024-01-14 10:41:58 +01:00
suppress_key_server_warning: true
#
2024-01-14 10:41:58 +01:00
serve_server_wellknown: true
2024-01-14 12:59:59 +01:00
#
2024-02-12 19:01:43 +01:00
#matrix_mautrix_whatsapp_enabled: true
2024-10-24 10:14:26 +02:00
#app_service_config_files:
# - /data/mautrix-whatsapp/registration.yaml
# - /data/mautrix-signal/registration.yaml
# - /data/mautrix-telegram/registration.yaml
2024-02-08 20:32:56 +01:00
#
2024-01-14 12:42:11 +01:00
#auto_join_rooms:
# - "#example:example.com"
#autocreate_auto_join_rooms: false
2024-01-28 16:03:34 +01:00
#autocreate_auto_join_rooms_federated: false
2024-01-16 17:53:41 +01:00
#
enable_3pid_changes: true
user_directory.search_all_users: true
matrix_synapse_allow_public_rooms_over_federation: true
2024-01-28 16:03:34 +01:00
#allow_guest_access: true
2024-01-16 17:53:41 +01:00
#
2024-01-14 10:41:58 +01:00
email:
smtp_host: mail.host-nb.de
2024-01-14 12:59:59 +01:00
smtp_port: 587
smtp_user: "matrix@mail-nb.de"
smtp_pass: "STraMO80"
2024-01-14 10:41:58 +01:00
require_transport_security: true
2024-01-14 13:53:37 +01:00
notif_from: "Your Friendly %(app)s homeserver <matrix@mail-nb.de>"
2024-01-14 12:59:59 +01:00
app_name: EDV-Wolff Matrix Server
2024-01-14 10:41:58 +01:00
enable_notifs: true
2024-01-14 12:42:11 +01:00
invite_client_location: "https://matrix-client.server-nb.de"
2024-01-14 11:18:20 +01:00
client_base_url: "https://matrix.server-nb.de"
2024-01-16 17:53:41 +01:00
2024-03-15 19:13:22 +01:00
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'
2024-01-16 17:53:41 +01:00
2024-03-15 19:13:22 +01:00
max_spider_size: 8M
2024-01-16 17:53:41 +01:00
2024-03-15 19:13:22 +01:00
url_preview_accept_language:
- 'de'
- 'en'
- 'en-US;q=0.9'
- 'fr;q=0.8'
- '*;q=0.7'
retention:
enabled: true
2024-03-16 09:21:15 +01:00
# default_policy:
2024-03-15 19:13:22 +01:00
# 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
2024-01-15 17:22:04 +01:00
## TURN ##
2024-01-17 20:46:18 +01:00
turn_uris: ["turn:turn.server-nb.de:3478?transport=udp", "turn:turn.server-nb.de:3478?transport=tcp"]
2024-01-23 16:51:31 +01:00
turn_shared_secret: "WXe9ew8vNsYhvprJgMZNfZurVM2W31hwtBiTevIDEMJ3TVSiHvueEIC"
2024-01-17 21:00:09 +01:00
turn_user_lifetime: "1h"
2024-01-23 15:07:10 +01:00
turn_allow_guests: True
2024-01-23 14:59:19 +01:00