Server settings
Every setting below is read from the environment variable in the second
column, or from the same key in a YAML configuration file. An unrecognised
FANOUT_-prefixed variable is a startup error, so a renamed setting surfaces
as a refusal to start rather than as a default nobody chose.
| Setting | Environment variable | Type | Default |
|---|---|---|---|
server.http_addr | FANOUT_HTTP_ADDR | string | :7520 |
server.pprof_enabled | FANOUT_PPROF_ENABLED | boolean | false |
server.public_url | FANOUT_PUBLIC_URL | string | — |
server.tls.cert_file | FANOUT_TLS_CERT_FILE | string | — |
server.tls.key_file | FANOUT_TLS_KEY_FILE | string | — |
server.trusted_proxy_cidrs | FANOUT_TRUSTED_PROXY_CIDRS | string | — |
server.pprof_enabled
Section titled “server.pprof_enabled”Exposes Go’s net/http/pprof handlers at /debug/pprof/* for CPU/heap/mutex/goroutine profiling under load. Off by default; the routes require an admin browser session with operations:read.