summarylogtreecommitdiffstats
path: root/grapevine-example.toml
blob: bfb5eeb2ed8a93cda01d757b01a2be6e807dcdec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#conduit_compat = false
server_name = "your-hostname-here.example"

max_request_size = 100_000_000
#allow_registration = false
#registration_token = ""
#serve_media_unauthenticated = false

#[tls]
#certs = "/path/to/fullchain.pem"
#key = "/path/to/privkey.pem"

[[listen]]
type = "tcp"
#tls = false
port = 8448
address = "::"

[server_discovery.server]
authority = "your-hostname-here.example:99999"

[server_discovery.client]
base_url = "https://your-hostname-here.example:99999"

[federation]
enable = true
trusted_servers = ["matrix.org"]

[database]
backend = "rocksdb"
path = "/var/lib/grapevine/"