zhaow-de / rotating-tor-http-proxy

A multi-arch image provides one HTTP proxy endpoint with many concurrent tunnels to the Tor network.
https://hub.docker.com/r/zhaowde/rotating-tor-http-proxy
MIT License
129 stars 36 forks source link

Rotation based on uses, not time #10

Open CoolDouble opened 1 month ago

CoolDouble commented 1 month ago

Is there a way to rotate the IP manually after N requests?

abdelrahman-mh commented 1 month ago

No!, HAProxy here make a roundrobin algorithm for your HTTP requests on a single port 3128 (inside the container), and he not provide algorithm to give each proxy N requests and move to next one. and i think the roundrobin is do the same thing but he distribute your requests to all the Proxies.

else you may change all setup