mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-27 21:13:47 +03:00
6afc4c9b3e
It can be enable in the Rocket.toml config or using ROCKET_FEDERATION_ENABLED=true
31 lines
871 B
TOML
31 lines
871 B
TOML
[global]
|
|
# The name of this server
|
|
# Note: If server name != hostname, you need a .well-known file for federation
|
|
# to work
|
|
server_name = "your.server.name"
|
|
|
|
port = 14004
|
|
|
|
# Max size for uploads
|
|
#max_request_size = 20_000_000 # in bytes, ~20 MB
|
|
|
|
# Disable registration. No new users will be able to register on this server
|
|
#registration_disabled = true
|
|
|
|
# Disable encryption, so no new encrypted rooms can be created
|
|
# Note: existing rooms will continue to work
|
|
#encryption_disabled = true
|
|
|
|
#federation_enabled = true
|
|
|
|
# Default path is in this user's data
|
|
#database_path = "/home/timo/MyConduitServer"
|
|
|
|
# You should probably leave this at 0.0.0.0
|
|
address = "0.0.0.0"
|
|
|
|
# TLS support
|
|
# Note: Not necessary when using a reverse proxy:
|
|
#[global.tls]
|
|
#certs = "/etc/letsencrypt/live/your.server.name/fullchain.pem"
|
|
#key = "/etc/letsencrypt/live/your.server.name/privkey.pem"
|