global
log stdout format raw local0
daemon
defaults
log global
mode http
option httplog
timeout client 30s
timeout connect 10s
timeout server 30s
frontend main
bind :5000
filter spoe engine test config /usr/local/etc/haproxy/spoe-test.conf
default_backend app
backend spoe-test
mode tcp
# option spop-check
server rust-agent 127.0.0.1:12345 # check
backend app
mode http
http-request return status 200 content-type "text/plain" string "Hello"