Last active
August 29, 2015 14:15
-
-
Save joshwilsdon/acca258255c0439316aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 notice | |
maxconn 4096 | |
stats socket /tmp/haproxy | |
defaults | |
log global | |
mode http | |
option httplog | |
option dontlognull | |
retries 3 | |
option redispatch | |
maxconn 2000 | |
timeout connect 5000 | |
timeout client 50000 | |
timeout server 50000 | |
listen web-proxy 0.0.0.0:80 | |
mode http | |
balance roundrobin | |
server lb 127.0.0.1 | |
listen stats :1936 | |
mode http | |
stats enable | |
stats hide-version | |
stats scope . | |
stats realm Haproxy\ Statistics | |
stats uri / | |
stats auth user:pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment