forked from pool/haproxy
35 lines
769 B
INI
35 lines
769 B
INI
|
global
|
||
|
log /dev/log daemon
|
||
|
maxconn 32768
|
||
|
chroot /var/lib/haproxy
|
||
|
user haproxy
|
||
|
group haproxy
|
||
|
daemon
|
||
|
stats socket /var/lib/haproxy/stats user haproxy group haproxy mode 0640 level operator
|
||
|
tune.bufsize 32768
|
||
|
tune.ssl.default-dh-param 2048
|
||
|
ssl-default-bind-ciphers ALL:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@STRENGTH
|
||
|
|
||
|
defaults
|
||
|
log global
|
||
|
mode http
|
||
|
option log-health-checks
|
||
|
option log-separate-errors
|
||
|
option dontlog-normal
|
||
|
option dontlognull
|
||
|
option httplog
|
||
|
option socket-stats
|
||
|
retries 3
|
||
|
option redispatch
|
||
|
maxconn 10000
|
||
|
timeout connect 5s
|
||
|
timeout client 50s
|
||
|
timeout server 450s
|
||
|
|
||
|
listen stats
|
||
|
bind 0.0.0.0:80
|
||
|
bind :::80 v6only
|
||
|
stats enable
|
||
|
stats uri /
|
||
|
stats refresh 5s
|