72 lines
1.6 KiB
YAML
72 lines
1.6 KiB
YAML
# https://matrix-org.github.io/synapse/latest/usage/configuration/index.html
|
|
|
|
server_name: "msrg.cc"
|
|
pid_file: /data/homeserver.pid
|
|
public_baseurl: https://matrix.msrg.cc/
|
|
allow_public_rooms_without_auth: true
|
|
allow_public_rooms_over_federation: true
|
|
|
|
listeners:
|
|
- port: 8008
|
|
tls: false
|
|
type: http
|
|
x_forwarded: true
|
|
resources:
|
|
- names:
|
|
- client
|
|
- federation
|
|
- metrics
|
|
compress: false
|
|
|
|
admin_contact: "mailto:tobias@msrg.cc"
|
|
|
|
acme:
|
|
enabled: false
|
|
|
|
database:
|
|
name: "psycopg2"
|
|
args:
|
|
user: "synapse"
|
|
#password: ""
|
|
database: "synapse"
|
|
host: "node002.serguzim.me"
|
|
cp_min: 5
|
|
cp_max: 10
|
|
|
|
log_config: "/data/msrg.cc.log.config"
|
|
media_store_path: "/media_store"
|
|
max_upload_size: 500M
|
|
enable_registration: false
|
|
enable_metrics: true
|
|
report_stats: true
|
|
|
|
#macaroon_secret_key: ""
|
|
#form_secret: ""
|
|
signing_key_path: "/data/msrg.cc.signing.key"
|
|
|
|
trusted_key_servers:
|
|
- server_name: "matrix.org"
|
|
suppress_key_server_warning: true
|
|
|
|
oidc_providers:
|
|
- idp_id: "auth_serguzim_me"
|
|
idp_name: "auth.serguzim.me"
|
|
issuer: "https://auth.serguzim.me/application/o/matrix_serguzim_me/"
|
|
#client_id: ""
|
|
#client_secret: ""
|
|
scopes:
|
|
- "openid"
|
|
- "profile"
|
|
- "email"
|
|
user_mapping_provider:
|
|
config:
|
|
localpart_template: "{{ user.preferred_username }}"
|
|
display_name_template: "{{ user.name }}"
|
|
|
|
email:
|
|
smtp_host: mail.serguzim.me
|
|
smtp_port: 587
|
|
smtp_user: "matrix@serguzim.me"
|
|
#smtp_pass: ""
|
|
require_transport_security: true
|
|
notif_from: "Matrix <matrix@serguzim.me>"
|