]> Humopery - fcgisrv.git/commitdiff
add sample haproxy.cfg
authorErik Mackdanz <erikmack@gmail.com>
Thu, 26 Oct 2023 23:35:44 +0000 (18:35 -0500)
committerErik Mackdanz <erikmack@gmail.com>
Thu, 26 Oct 2023 23:35:44 +0000 (18:35 -0500)
haproxy.cfg [new file with mode: 0644]

diff --git a/haproxy.cfg b/haproxy.cfg
new file mode 100644 (file)
index 0000000..9497ee7
--- /dev/null
@@ -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
+