Add haproxy cfg example file. - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 5eba8a279042208ff514c43c1934b50c86cf2d60 DIR parent 8de0a5087833495b700c7ce4472df52c397c4cd5 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Mon, 14 Nov 2022 01:09:41 +0100 Add haproxy cfg example file. Diffstat: A haproxy/gopher-haproxy.cfg | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+), 0 deletions(-) --- DIR diff --git a/haproxy/gopher-haproxy.cfg b/haproxy/gopher-haproxy.cfg @@ -0,0 +1,28 @@ +# +# Minimal Gopher example. +# See: http://www.haproxy.org/download/1.8/doc/configuration.txt +# +# On gentoo copy to /etc/haproxy/haproxy-gopher.cfg and create +# the /etc/init.d/gopher-haproxy symlink from /etc/init.d/haproxy. +# + +global + user haproxy + group haproxy + +defaults + mode tcp + timeout connect 5000 + timeout client 50000 + timeout server 50000 + +frontend gopher + bind *:70 + mode tcp + default_backend backendnodes + +backend backendnodes + balance roundrobin + server node1 127.0.0.1:7070 send-proxy + server node2 127.0.0.1:7071 send-proxy +