Add proxy protocol tests

This commit is contained in:
Emile Vauge 2017-10-30 10:02:03 +01:00 committed by Traefiker
parent d1d8b01dfb
commit e8633d17e8
8 changed files with 177 additions and 23 deletions

View file

@ -0,0 +1,7 @@
haproxy:
image: haproxy
volumes:
- ../haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
whoami:
image: emilevauge/whoami

View file

@ -0,0 +1,21 @@
global
maxconn 4096
defaults
log global
mode http
retries 3
option redispatch
maxconn 2000
timeout connect 5000
timeout client 50000
timeout server 50000
frontend TestServerTest
bind 0.0.0.0:80
mode tcp
default_backend TestServerNodes
backend TestServerNodes
mode tcp
server TestServer01 172.17.0.1:8000 send-proxy