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
listen MyStats | |
mode http | |
bind 0.0.0.0:1000 | |
stats enable | |
stats uri / | |
# if authentication is wanted | |
acl auth_ok http_auth(stats-auth) | |
http-request auth unless auth_ok |
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 | |
maxconn 300 | |
log 192.168.0.40 local0 debug | |
stats socket /tmp/haproxy.socket level admin | |
gid 80 | |
nbproc 1 | |
chroot /var/empty | |
daemon | |
# | |
# Example configuration for HAProxy 1.5-dev19 for using SNI |
NewerOlder