corrected spelling of config for synapse
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
server_name: "{{ matrix_domain }}"
|
||||
trusted_key_servers:
|
||||
- server_name: "{{ matrix_domain }}"
|
||||
|
||||
pid_file: /data/homeserver.pid
|
||||
listeners:
|
||||
- port: {{ synapse_http_port }}
|
||||
bind_addresses: ['0.0.0.0']
|
||||
type: http
|
||||
tls: false
|
||||
x_forwarded: true
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
compress: true
|
||||
- compress: true
|
||||
names:
|
||||
- client
|
||||
- federation
|
||||
tls: false
|
||||
type: http
|
||||
x_forwarded: true
|
||||
|
||||
# -------------------------------------------------
|
||||
# TURN (WebRTC) – injected from the variables above
|
||||
@@ -39,12 +39,12 @@ database:
|
||||
name: sqlite3
|
||||
args:
|
||||
database: /data/homeserver.db
|
||||
log_config: "/data/my.matrix.host.log.config"
|
||||
media_store_path: /data/media_store
|
||||
log_config: "/data/matrix.fpov.space.log.config"
|
||||
registration_shared_secret: "{{ registration_shared_secret }}"
|
||||
report_stats: true
|
||||
report_stats: false
|
||||
macaroon_secret_key: "{{ macaroon_secret_key }}
|
||||
form_secret: "{{ form_secret }}"
|
||||
signing_key_path: "/data/my.matrix.host.signing.key"
|
||||
trusted_key_servers:
|
||||
- server_name: "matrix.org"
|
||||
- server_name: "{{ matrix_domain }}"
|
||||
|
||||
36
templates/matrix.fpov.space.log.config.j2
Normal file
36
templates/matrix.fpov.space.log.config.j2
Normal file
@@ -0,0 +1,36 @@
|
||||
version: 1
|
||||
|
||||
formatters:
|
||||
precise:
|
||||
|
||||
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
|
||||
|
||||
|
||||
handlers:
|
||||
|
||||
|
||||
console:
|
||||
class: logging.StreamHandler
|
||||
formatter: precise
|
||||
|
||||
loggers:
|
||||
# This is just here so we can leave `loggers` in the config regardless of whether
|
||||
# we configure other loggers below (avoid empty yaml dict error).
|
||||
_placeholder:
|
||||
level: "INFO"
|
||||
|
||||
|
||||
|
||||
synapse.storage.SQL:
|
||||
# beware: increasing this to DEBUG will make synapse log sensitive
|
||||
# information such as access tokens.
|
||||
level: INFO
|
||||
|
||||
|
||||
|
||||
|
||||
root:
|
||||
level: INFO
|
||||
|
||||
|
||||
handlers: [console]
|
||||
Reference in New Issue
Block a user