mirror of
https://github.com/mikedilger/chorus.git
synced 2026-01-03 06:15:33 +00:00
37 lines
979 B
TOML
37 lines
979 B
TOML
# See contrib/chorus.toml for a documented config file
|
|
|
|
data_directory = "./sample"
|
|
ip_address = "127.0.0.1"
|
|
port = 8080
|
|
hostname = "localhost"
|
|
chorus_is_behind_a_proxy = false
|
|
use_tls = false
|
|
certchain_pem_path = "tls/fullchain.pem"
|
|
key_pem_path = "tls/privkey.pem"
|
|
name = "Chorus Sample"
|
|
description = "A sample run of the Chorus relay"
|
|
# icon_url =
|
|
open_relay = false
|
|
user_hex_keys = [
|
|
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
|
|
]
|
|
moderator_hex_keys = [
|
|
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
|
|
]
|
|
verify_events = true
|
|
allow_scraping = false
|
|
allow_scrape_if_limited_to = 100
|
|
allow_scrape_if_max_seconds = 7200
|
|
max_subscriptions = 128
|
|
serve_ephemeral = true
|
|
serve_relay_lists = true
|
|
server_log_level = "Info"
|
|
library_log_level = "Info"
|
|
client_log_level = "Warn"
|
|
enable_ip_blocking = true
|
|
minimum_ban_seconds = 1
|
|
timeout_seconds = 60
|
|
max_connections_per_ip = 5
|
|
throttling_bytes_per_second = 131072
|
|
throttling_burst = 4194304
|