Files
RHCE/solutions/roles/balancer/templates/haproxy.cfg.j2
2026-01-25 08:31:56 -07:00

26 lines
444 B
Django/Jinja

global
log /dev/log local0
log /dev/log local1 notice
daemon
maxconn 2048
defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5s
timeout client 50s
timeout server 50s
frontend http_front
bind *:80
default_backend webservers
backend webservers
balance roundrobin
option httpchk
server node3 node3:80 check
server node4 node4:80 check