Skip to content

Instantly share code, notes, and snippets.

@srounet
Last active December 15, 2015 08:19
Show Gist options
  • Save srounet/5229532 to your computer and use it in GitHub Desktop.
Save srounet/5229532 to your computer and use it in GitHub Desktop.
global
daemon
user haproxy
group haproxy
listen stats
bind 0.0.0.0:2090
mode http
stats enable
stats uri /
listen TOR-in
bind 127.0.0.1:9049
default_backend TOR
balance roundrobin
backend TOR
server 127.0.0.1:9051 127.0.0.1:9051 check
server 127.0.0.1:9052 127.0.0.1:9052 check
server 127.0.0.1:9053 127.0.0.1:9053 check
server 127.0.0.1:9054 127.0.0.1:9054 check
server 127.0.0.1:9055 127.0.0.1:9055 check
server 127.0.0.1:9056 127.0.0.1:9056 check
server 127.0.0.1:9057 127.0.0.1:9057 check
server 127.0.0.1:9058 127.0.0.1:9058 check
server 127.0.0.1:9059 127.0.0.1:9059 check
server 127.0.0.1:9050 127.0.0.1:9060 check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment