-
Notifications
You must be signed in to change notification settings - Fork 16
/
haproxy.conf
47 lines (43 loc) · 1.24 KB
/
haproxy.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
global
daemon
user root
group root
defaults
mode http
maxconn 50000
timeout client 3600s
timeout connect 1s
timeout queue 5s
timeout server 3600s
listen stats
bind 0.0.0.0:2090
mode http
stats enable
stats uri /
listen TOR-in
bind 0.0.0.0:9100
mode tcp
default_backend TOR
balance roundrobin
backend TOR
mode tcp
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:9060 127.0.0.1:9060 check
server 127.0.0.1:9061 127.0.0.1:9061 check
server 127.0.0.1:9062 127.0.0.1:9062 check
server 127.0.0.1:9063 127.0.0.1:9063 check
server 127.0.0.1:9064 127.0.0.1:9064 check
server 127.0.0.1:9065 127.0.0.1:9065 check
server 127.0.0.1:9066 127.0.0.1:9066 check
server 127.0.0.1:9067 127.0.0.1:9067 check
server 127.0.0.1:9068 127.0.0.1:9068 check
server 127.0.0.1:9069 127.0.0.1:9069 check
server 127.0.0.1:9070 127.0.0.1:9070 check