Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 4096
#chroot /usr/share/haproxy
user haproxy
group haproxy
daemon
debug
#quiet
defaults
log global
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen next_proxy
mode http
bind *:80
server server1 ip-10-244-26-36.ec2.internal
listen next_ssl_proxy
bind *:443
mode tcp
server server1 ip-10-244-26-36.ec2.internal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment