global uid 1000 gid 1000 log /dev/log local0 maxconn 4000 pidfile /var/haproxy/run/haproxy.pid stats socket /var/haproxy/run/stats uid 1000 gid 1000 mode 0600 level admin defaults log-format "%ci:%cp [%t] %ft [%bi]:%bp %b/%s %Tw/%Tc/%Tt %B %ts %ac/%fc/%bc/%sc/%rc %sq/%bq" log global maxconn 8000 option redispatch retries 3 stats enable timeout http-request 10s timeout queue 1m timeout connect 10s timeout client 2m timeout server 2m timeout check 10s listen balance_git_http bind :::80 mode tcp balance source option httpchk HEAD / server gitea99.opendev.org 23.253.164.7:3080 check listen balance_git_https bind :::443 mode tcp balance source option httpchk HEAD / server gitea99.opendev.org 23.253.164.7:3081 check check-ssl ca-file /usr/local/etc/haproxy/ca.crt