# rChat relay on a dedicated 2 GB FreeBSD VM. Replace the domain and websocket_path. [server] bind_addr = "0.0.0.0:443" max_connections = 4000 max_connections_per_ip = 64 max_connections_per_ipv6_48 = 256 rate_limit_bps = 1048576 max_message_bytes = 4194304 connection_timeout_secs = 300 websocket_path = "/CHANGE-ME-to-a-long-random-path" identification_timeout_secs = 15 max_pending_circuit_targets = 10000 max_pending_per_connection = 32 max_pending_per_source = 1024 max_circuits_per_connection = 256 max_circuits = 100000 offline_queue_max_total_bytes = 134217728 offline_queue_max_bytes_per_recipient = 16777216 outbound_budget_bytes = 268435456 buffer_budget_bytes = 134217728 tls_handshake_timeout_secs = 10 relay_identity_path = "/var/db/rchat/relay_identity.key" [server.offline_queue] ttl_secs = 259200 knock_budget_bytes = 16777216 persist = false [server.acme] enabled = true domains = ["chat.example.com"] cache_dir = "/var/db/rchat/acme" staging = true [logging] format = "json" output = "stdout" [metrics] enabled = true bind_addr = "127.0.0.1:9090" [server.decoy] enabled = true server_header = "nginx/1.24.0" write_timeout_secs = 30