42 lines
554 B
TOML
42 lines
554 B
TOML
# Generic HTTP/1.1 edge configuration.
|
|
whitelist = ["127.0.0.1", "::1"]
|
|
|
|
[bind]
|
|
address = "0.0.0.0"
|
|
port = 25565
|
|
|
|
[backend]
|
|
upstreams = ["127.0.0.1:25566"]
|
|
|
|
[workers]
|
|
count = 4
|
|
|
|
[limits]
|
|
handshake_timeout_secs = 5
|
|
max_connections_per_ip = 10
|
|
rate_limit_pps = 5.0
|
|
rate_limit_burst = 10.0
|
|
|
|
[ban]
|
|
ban_duration_secs = 3600
|
|
|
|
[store]
|
|
redis_url = ""
|
|
blacklist_cache_ttl_secs = 300
|
|
clickhouse_url = ""
|
|
|
|
[xdp]
|
|
enabled = false
|
|
interface = "eth0"
|
|
|
|
[logging]
|
|
level = "info"
|
|
format = "text"
|
|
|
|
[metrics]
|
|
enabled = true
|
|
port = 9090
|
|
|
|
[pow]
|
|
enabled = false
|
|
difficulty = 4
|