forked from pool/haproxy
01a99e5686
- Remove unsupported options from example haproxy.cfg - Make haproxy useable for containers - Use sysusers.d to create users. - Use systemd_ordering instead of requiring systemd. - Own vim syntax directory instead of requiring vim. This also solves the problem the directory got never removed if vim is updated before haproxy. OBS-URL: https://build.opensuse.org/request/show/774367 OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=213
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
|