Skip to content

Instantly share code, notes, and snippets.

@jameskyle
Last active December 26, 2015 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameskyle/7128771 to your computer and use it in GitHub Desktop.
Save jameskyle/7128771 to your computer and use it in GitHub Desktop.
global
maxconn 4096
nbproc 1
debug
daemon
log 127.0.0.1 local0
defaults
mode http
option httplog
log global
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
frontend secure
mode http
bind 0.0.0.0:443 ssl crt /etc/haproxy/haproxy.pem
default_backend horizon
backend horizon
mode http
server ctrl1 127.0.0.1:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment