kawipiko/examples/dummy/haproxy-dummy.conf

16 lines
360 B
Text
Raw Normal View History

global
nbthread 2
2021-12-23 10:09:34 +00:00
maxconn 16640
defaults
2021-12-23 10:09:34 +00:00
mode http
timeout client 6s
timeout server 6s
timeout connect 6s
frontend http
2021-12-23 10:09:34 +00:00
bind ipv4@127.9.185.194:8080 defer-accept backlog 65536
http-request return status 200 string "hello world!\n" content-type "text/plain; charset=utf-8" hdr "Content-Encoding" "identity" hdr "Cache-Control" "no-store, max-age=0"