46 lines
1.6 KiB
YAML
46 lines
1.6 KiB
YAML
# Configuration file for Synapse.
|
|
#
|
|
# This is a YAML file: see [1] for a quick introduction. Note in particular
|
|
# that *indentation is important*: all the elements of a list or dictionary
|
|
# should have the same indentation.
|
|
#
|
|
# [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
|
|
#
|
|
# For more information on how to configure Synapse, including a complete accounting of
|
|
# each option, go to docs/usage/configuration/config_documentation.md or
|
|
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
|
|
server_name: "matrix.mcknight.tech"
|
|
web_client_location: "https://matrix.mcknight.tech/"
|
|
#enable_registration: true
|
|
#enable_registration_without_verification: true
|
|
#registration_requires_token: true
|
|
#retistrations_require_3pid: true
|
|
pid_file: /data/homeserver.pid
|
|
serve_server_wellknown: true
|
|
listeners:
|
|
- port: 8008
|
|
tls: true
|
|
type: http
|
|
x_forwarded: true
|
|
resources:
|
|
- names: [client, federation]
|
|
compress: false
|
|
database:
|
|
name: sqlite3
|
|
args:
|
|
database: /data/homeserver.db
|
|
log_config: "/data/matrix.domain.com.log.config"
|
|
media_store_path: /data/media_store
|
|
registration_shared_secret: "lMaVx6MM*ALN~gS-SSNrHpo,,dMv-UKACa=#Va41k38ciEzYqU"
|
|
report_stats: false
|
|
macaroon_secret_key: "@@CB^Zbo2^tIBk;dz7-2@f.pWXjBFEh^eu_m#M:zxeWN;HuYqm"
|
|
form_secret: "7N*bj4zVkGiq~VJ6V6=7vz2Thq873,uMMMdpH,gB8e~3iF*P7^"
|
|
signing_key_path: "/data/matrix.domain.com.signing.key"
|
|
trusted_key_servers:
|
|
- server_name: "matrix.org"
|
|
|
|
public_baseurl: "https://matrix.mcknight.tech"
|
|
tls_certificate_path: "/data/fullchain.pem"
|
|
tls_private_key_path: "/data/privkey.pem"
|
|
|
|
# vim:ft=yaml
|