|
|
@ -1,12 +1,7 @@
|
|
|
|
global
|
|
|
|
global
|
|
|
|
log stdout format raw daemon "${LOG_LEVEL}"
|
|
|
|
log stdout format raw daemon "${LOG_LEVEL}"
|
|
|
|
|
|
|
|
|
|
|
|
pidfile /run/haproxy.pid
|
|
|
|
|
|
|
|
maxconn 4000
|
|
|
|
maxconn 4000
|
|
|
|
|
|
|
|
|
|
|
|
# Turn on stats unix socket
|
|
|
|
|
|
|
|
server-state-file /var/lib/haproxy/server-state
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
defaults
|
|
|
|
defaults
|
|
|
|
mode http
|
|
|
|
mode http
|
|
|
|
log global
|
|
|
|
log global
|
|
|
@ -24,9 +19,6 @@ defaults
|
|
|
|
timeout check 10s
|
|
|
|
timeout check 10s
|
|
|
|
maxconn 3000
|
|
|
|
maxconn 3000
|
|
|
|
|
|
|
|
|
|
|
|
# Allow seamless reloads
|
|
|
|
|
|
|
|
load-server-state-from-file global
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Use provided example error pages
|
|
|
|
# Use provided example error pages
|
|
|
|
errorfile 400 /usr/local/etc/haproxy/errors/400.http
|
|
|
|
errorfile 400 /usr/local/etc/haproxy/errors/400.http
|
|
|
|
errorfile 403 /usr/local/etc/haproxy/errors/403.http
|
|
|
|
errorfile 403 /usr/local/etc/haproxy/errors/403.http
|
|
|
|