From: Erik Mackdanz Date: Thu, 26 Oct 2023 23:35:44 +0000 (-0500) Subject: add sample haproxy.cfg X-Git-Url: https://git.humopery.space/?a=commitdiff_plain;h=474739b1ef7ea4d7fc1209ddc23737b0aa02de37;p=fcgisrv.git add sample haproxy.cfg --- diff --git a/haproxy.cfg b/haproxy.cfg new file mode 100644 index 0000000..9497ee7 --- /dev/null +++ b/haproxy.cfg @@ -0,0 +1,21 @@ +# haproxy -f haproxy.cfg + +# $BROWSER http://localhost:8090/touchgrass.jpg + +defaults + mode http + timeout connect 5000ms + timeout client 50000ms + timeout server 50000ms + +frontend http-private-in + bind 127.0.0.1:8090 + use_backend fcgitest-front + +backend fcgitest-front + use-fcgi-app testy + server server1 /tmp/fcgisocket proto fcgi + +fcgi-app testy + docroot /tmp +