CapMonster balanced proxy
Metrics for prometheus:
http://127.0.0.1:8080/metrics
Listen at:
CAP_LISTEN(addr:port, default 0.0.0.0:8080)
CAP_LISTEN=1.2.3.4:9090
Log verbosity:
RUST_LOG=caproxy={trace|debug|log}
RUST_LOG=caproxy=debug
Cap hosts, balanced with score. If score is negative, it will be disabled on start.
CAPS={score1=url1}[,{score2}={url2}]
CAPS=20=http://cap1.org,80=http://cap2.net
CAPS=20=http://cap-one.org,-80=http://cap-second.net
CapMonster host check:
CAPS_CHECK_PERIOD(msec, default 5000): period between checks
CAPS_CHECK_WAIT(msec, default 200): wait for answer between NOT_READY