forked from pool/haproxy
deb5095fcd
- Set /run/haproxy as the default PID file and socket location (more canonical location for transient files) - Allow custom stats socket names (allows users to define multiple sockets with different access levels as /run/haproxy/stats-*.sock) OBS-URL: https://build.opensuse.org/request/show/1144067 OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=299
35 lines
770 B
INI
35 lines
770 B
INI
global
|
|
log /dev/log daemon
|
|
maxconn 32768
|
|
chroot /var/lib/haproxy
|
|
user haproxy
|
|
group haproxy
|
|
daemon
|
|
stats socket /run/haproxy/stats.sock 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
|