Cyberes 946f2d7a11 | ||
---|---|---|
proxy-skeleton | ||
src | ||
.gitignore | ||
LICENSE | ||
README.md | ||
build.sh | ||
config.example.yml | ||
loadbalancer.service | ||
requirements.txt |
README.md
proxy-loadbalancer
A round-robin load balancer for HTTP proxies.
does not support downstream https servers.
This is a simple load balancer using proxy.py that will route requests to a cluster of proxy backends in a round-robin fashion. This makes it easy to connect your clients to a large number of proxy servers without worrying about implementing anything special clientside.
Install
pip install -r requirements.txt
- Copy
proxy-skeleton/app/config.py.example
toproxy-skeleton/app/config.py
and fill in your config details. - Deploy the
canihazip
https://git.evulid.cc/cyberes/canihazip and start it.
Use
To start the load balancer server, navigate to ./proxy-skeleton
and run python3 -m app
. The systemd service
loadbalancer.service
is provided as a service example.
Special Headers
The load balancer accepts special headers to control its behavior.
Smartproxy-Bypass
: don't use any SmartProxy endpoints.Smartproxy-Disable-BV3HI
: don't filter SmartProxy endpoints by the 503 connect error.