gopher-haproxy.cfg - geomyidae - a small C-based gopherd (mirror)
(HTM) git clone git://git.codemadness.org/geomyidae
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
gopher-haproxy.cfg (556B)
---
1 #
2 # Minimal Gopher example.
3 # See: http://www.haproxy.org/download/1.8/doc/configuration.txt
4 #
5 # On gentoo copy to /etc/haproxy/haproxy-gopher.cfg and create
6 # the /etc/init.d/gopher-haproxy symlink from /etc/init.d/haproxy.
7 #
8
9 global
10 user haproxy
11 group haproxy
12
13 defaults
14 mode tcp
15 timeout connect 5000
16 timeout client 50000
17 timeout server 50000
18
19 frontend gopher
20 bind *:70
21 mode tcp
22 default_backend backendnodes
23
24 backend backendnodes
25 balance roundrobin
26 server node1 127.0.0.1:7070 send-proxy
27 server node2 127.0.0.1:7071 send-proxy
28