Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
haproxy configuration for SSL benchmark
global
maxconn 100000
defaults
option http-server-close
option dontlognull
option redispatch
option contstats
retries 3
timeout connect 5s
timeout http-keep-alive 1s
timeout http-request 15s
timeout queue 30s
timeout tarpit 1m
backlog 10000
option tcp-smart-accept
option tcp-smart-connect
frontend front
bind :80 accept-proxy
mode http
maxconn 100000
timeout client 25s
default_backend back
backend back
balance roundrobin
mode http
option forwardfor
timeout server 25s
server srv1 172.31.208.2:80 check
server srv2 172.31.209.2:80 check
server srv3 172.31.210.2:80 check
server srv4 172.31.211.2:80 check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment