summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/third_party/websockets/example/deployment/haproxy/haproxy.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/tools/third_party/websockets/example/deployment/haproxy/haproxy.cfg')
-rw-r--r--testing/web-platform/tests/tools/third_party/websockets/example/deployment/haproxy/haproxy.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/third_party/websockets/example/deployment/haproxy/haproxy.cfg b/testing/web-platform/tests/tools/third_party/websockets/example/deployment/haproxy/haproxy.cfg
new file mode 100644
index 0000000000..e63727d1c0
--- /dev/null
+++ b/testing/web-platform/tests/tools/third_party/websockets/example/deployment/haproxy/haproxy.cfg
@@ -0,0 +1,17 @@
+defaults
+ mode http
+ timeout connect 10s
+ timeout client 30s
+ timeout server 30s
+
+frontend websocket
+ bind localhost:8080
+ default_backend websocket
+
+backend websocket
+ balance leastconn
+ server websockets-test_00 localhost:8000
+ server websockets-test_01 localhost:8001
+ server websockets-test_02 localhost:8002
+ server websockets-test_03 localhost:8003
+