Add homeserver.yml
This commit is contained in:
parent
b890b62919
commit
0c6e074870
43
homeserver.yml
Normal file
43
homeserver.yml
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# 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.airdog.site"
|
||||||
|
pid_file: /data/homeserver.pid
|
||||||
|
listeners:
|
||||||
|
- port: 8008
|
||||||
|
tls: false
|
||||||
|
type: http
|
||||||
|
x_forwarded: true
|
||||||
|
resources:
|
||||||
|
- names: [client, federation]
|
||||||
|
compress: false
|
||||||
|
database:
|
||||||
|
args:
|
||||||
|
user: synapse
|
||||||
|
password: chengli197
|
||||||
|
host: postgresql
|
||||||
|
database: synapse
|
||||||
|
cp_min: 5
|
||||||
|
cp_max: 10
|
||||||
|
enable_registration: true
|
||||||
|
enable_registration_without_verification: true
|
||||||
|
log_config: "/data/matrix.airdog.site.log.config"
|
||||||
|
media_store_path: /data/media_store
|
||||||
|
registration_shared_secret: "oy0CuE3M6^@D6-O7_DNAN4_JLyU+7~9MgqvR017CQEUc_r*EWz"
|
||||||
|
report_stats: true
|
||||||
|
macaroon_secret_key: "W7hJqv:N,VPsYMqK.^F.c0Ke6m~0Bau~S:Iosjo2,^XMWsz~*h"
|
||||||
|
form_secret: "bqRPA3By,WGj&&oPM8SgpJNKb:sXf4QP#mEoNco^JCy2frcPQZ"
|
||||||
|
signing_key_path: "/data/matrix.airdog.site.signing.key"
|
||||||
|
trusted_key_servers:
|
||||||
|
- server_name: "matrix.org"
|
||||||
|
|
||||||
|
|
||||||
|
# vim:ft=yaml
|
||||||
Loading…
Reference in New Issue
Block a user