Skip to content

Instantly share code, notes, and snippets.

@vincentbernat
Created August 22, 2011 18:16
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vincentbernat/1163077 to your computer and use it in GitHub Desktop.
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