Add a "check-config" command to validate config files & tests for it

This commit is contained in:
Andreas Fuchs 2024-10-04 10:49:08 -04:00
parent 70ee206031
commit 26ba489aa3
24 changed files with 492 additions and 0 deletions

View file

@ -0,0 +1,2 @@
some_name = "example.com"
prort = 6167

View file

@ -0,0 +1,2 @@
server_name = 6667
port = "ircd"

View file

@ -0,0 +1,8 @@
server_name = "example.com"
[server_discovery]
client.base_url = "https://matrix.example.com"
[database]
backend = "rocksdb"
path = "/var/lib/grapevine"

View file

@ -0,0 +1,21 @@
server_name = "example.com"
allow_registration = false
max_request_size = 20_000_000
[server_discovery]
server.authority = "matrix.example.com:443"
client.base_url = "https://matrix.example.com"
[database]
backend = "rocksdb"
path = "/var/lib/grapevine"
[federation]
enable = true
trusted_servers = ["matrix.org"]
[[listen]]
type="tcp"
address = "0.0.0.0"