2024-05-03 13:31:18 +02:00
|
|
|
global
|
|
|
|
log /dev/log daemon
|
|
|
|
maxconn 32768
|
|
|
|
chroot /var/lib/haproxy
|
|
|
|
user haproxy
|
|
|
|
group haproxy
|
|
|
|
daemon
|
2024-10-03 17:18:54 +02:00
|
|
|
stats socket /run/haproxy/stats.sock user haproxy group haproxy mode 0640 level operator
|
2024-05-03 13:31:18 +02:00
|
|
|
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
|