Fields
All server fields can be set in three places (highest priority wins — see config priority):| Field (YAML) | Env var | Default | Description |
|---|---|---|---|
host | PROXY_HOPPER_HOST | 0.0.0.0 | Bind address |
port | PROXY_HOPPER_PORT | 8080 | Proxy server port |
logLevel | PROXY_HOPPER_LOG_LEVEL | INFO | TRACE | DEBUG | INFO | WARNING | ERROR |
logFormat | PROXY_HOPPER_LOG_FORMAT | text | text | json |
logFile | PROXY_HOPPER_LOG_FILE | stderr | Path to log file |
backend | PROXY_HOPPER_BACKEND | memory | memory | redis |
redisUrl | PROXY_HOPPER_REDIS_URL | redis://localhost:6379/0 | Redis connection URL |
metrics | PROXY_HOPPER_METRICS | false | Enable Prometheus /metrics endpoint |
metricsPort | PROXY_HOPPER_METRICS_PORT | 9090 | Metrics server port |
probe | PROXY_HOPPER_PROBE | true | Enable background IP health prober |
probeInterval | PROXY_HOPPER_PROBE_INTERVAL | 60 | Seconds between probe rounds |
probeTimeout | PROXY_HOPPER_PROBE_TIMEOUT | 10 | Per-probe HTTP timeout (seconds) |
probeUrls | PROXY_HOPPER_PROBE_URLS | Cloudflare + Google | Endpoints to probe through each IP. Comma-separated as env var. |
modes | PROXY_HOPPER_MODES | all | Enabled interaction modes. Comma-separated as env var. Valid values: connect_tunnel, http_proxy, forwarding. |