Created
March 8, 2020 14:06
-
-
Save fsa/e7e80beaea7cec4fe917cfadeb437831 to your computer and use it in GitHub Desktop.
пример файла конфигурации matrix-synapse для example.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listeners: | |
- port: 8008 | |
tls: false | |
bind_addresses: ['::1', '127.0.0.1'] | |
type: http | |
x_forwarded: true | |
resources: | |
- names: [client, federation] | |
compress: false | |
# Database configuration | |
database: | |
name: "psycopg2" | |
args: | |
user: "synapse" | |
password: "{PASSWORD}" | |
database: "synapse" | |
host: "localhost" | |
cp_min: 5 | |
cp_max: 10 | |
# Number of events to cache in memory. | |
event_cache_size: "10K" | |
max_upload_size: "10M" | |
max_image_pixels: "32M" | |
## TURN ## | |
turn_uris: ["turn:turn.example.com:3478?transport=udp", "turn:turn.example.com:3478?transport=tcp"] | |
turn_shared_secret: "{SECRET}" | |
turn_user_lifetime: "1h" | |
turn_allow_guests: True | |
enable_registration: False | |
macaroon_secret_key: "{SECRET_KEY}" | |
suppress_key_server_warning: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment