Sanitized mirror from private repository - 2026-04-20 01:32:01 UTC
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
# Matrix Synapse Homeserver Configuration Template
|
||||
# Copy to /opt/synapse-mx/homeserver.yaml and customize
|
||||
#
|
||||
# This is the PRIMARY federated server (mx.vish.gg)
|
||||
# For legacy server config, see homeserver-legacy.yaml.template
|
||||
|
||||
server_name: "mx.vish.gg"
|
||||
pid_file: /opt/synapse-mx/homeserver.pid
|
||||
public_baseurl: https://mx.vish.gg/
|
||||
|
||||
listeners:
|
||||
- port: 8018
|
||||
tls: false
|
||||
type: http
|
||||
x_forwarded: true
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
|
||||
database:
|
||||
name: psycopg2
|
||||
args:
|
||||
user: synapse_mx
|
||||
password: "REDACTED_PASSWORD"
|
||||
database: synapse_mx
|
||||
host: localhost
|
||||
cp_min: 5
|
||||
cp_max: 10
|
||||
|
||||
log_config: "/opt/synapse-mx/mx.vish.gg.log.config"
|
||||
media_store_path: /opt/synapse-mx/media_store
|
||||
signing_key_path: "/opt/synapse-mx/mx.vish.gg.signing.key"
|
||||
|
||||
trusted_key_servers:
|
||||
- server_name: "matrix.org"
|
||||
|
||||
# Generate secrets with: python3 -c "import secrets; print(secrets.token_urlsafe(32))"
|
||||
registration_shared_secret: "<GENERATE_SECRET>"
|
||||
macaroon_secret_key: "<GENERATE_SECRET>"
|
||||
form_secret: "<GENERATE_SECRET>"
|
||||
|
||||
enable_registration: true
|
||||
enable_registration_without_verification: true
|
||||
|
||||
max_upload_size: 100M
|
||||
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'
|
||||
- '169.254.0.0/16'
|
||||
- '::1/128'
|
||||
- 'fe80::/64'
|
||||
- 'fc00::/7'
|
||||
|
||||
report_stats: false
|
||||
suppress_key_server_warning: true
|
||||
|
||||
# TURN server for voice/video calls
|
||||
turn_uris:
|
||||
- "turn:mx.vish.gg:3479?transport=udp"
|
||||
- "turn:mx.vish.gg:3479?transport=tcp"
|
||||
turn_shared_secret: "<TURN_SHARED_SECRET>"
|
||||
turn_user_lifetime: 86400000
|
||||
turn_allow_guests: true
|
||||
|
||||
enable_3pid_changes: true
|
||||
Reference in New Issue
Block a user