2024-03-30 02:12:24 +01:00
|
|
|
[global]
|
|
|
|
# YOU NEED TO EDIT THIS
|
|
|
|
#server_name = "your.server.name"
|
|
|
|
|
|
|
|
# This is the only directory where Conduit will save its data
|
|
|
|
database_path = "/var/lib/matrix-conduit/"
|
|
|
|
database_backend = "rocksdb"
|
|
|
|
|
|
|
|
# The port Conduit will be running on. You need to set up a reverse proxy in
|
|
|
|
# your web server (e.g. apache or nginx), so all requests to /_matrix on port
|
|
|
|
# 443 and 8448 will be forwarded to the Conduit instance running on this port
|
|
|
|
# Docker users: Don't change this, you'll need to map an external port to this.
|
|
|
|
port = 6167
|
|
|
|
|
|
|
|
# Max size for uploads
|
|
|
|
max_request_size = 20_000_000 # in bytes
|
|
|
|
|
|
|
|
# Enables registration. If set to false, no users can register on this server.
|
|
|
|
allow_registration = true
|
|
|
|
|
2024-04-25 08:59:51 +02:00
|
|
|
# A static registration token that new users will have to provide when creating
|
|
|
|
# an account. YOU NEED TO EDIT THIS.
|
|
|
|
# - Insert a password that users will have to enter on registration
|
|
|
|
# - Start the line with '#' to remove the condition
|
|
|
|
registration_token = ""
|
|
|
|
|
2024-03-30 02:12:24 +01:00
|
|
|
allow_federation = true
|
|
|
|
allow_check_for_updates = true
|
|
|
|
|
|
|
|
# Enable the display name lightning bolt on registration.
|
|
|
|
enable_lightning_bolt = true
|
|
|
|
|
|
|
|
# Servers listed here will be used to gather public keys of other servers.
|
|
|
|
# Generally, copying this exactly should be enough. (Currently, Conduit doesn't
|
|
|
|
# support batched key requests, so this list should only contain Synapse
|
|
|
|
# servers.)
|
|
|
|
trusted_servers = ["matrix.org"]
|
|
|
|
|
|
|
|
#max_concurrent_requests = 100 # How many requests Conduit sends to other servers at the same time
|
|
|
|
|
|
|
|
# Controls the log verbosity. See also [here][0].
|
|
|
|
#
|
|
|
|
# [0]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
|
|
|
|
#log = "..."
|
|
|
|
|
|
|
|
address = "127.0.0.1" # This makes sure Conduit can only be reached using the reverse proxy
|
|
|
|
#address = "0.0.0.0" # If Conduit is running in a container, make sure the reverse proxy (ie. Traefik) can reach it.
|