Haproxy misc

From UVOO Tech Wiki
Revision as of 16:22, 26 July 2022 by Busk (talk | contribs) (Created page with "``` defaults maxconn 300000 log global option redispatch option http-server-close timeout http-request 10s timeout check 10s timeout connect 10s timeout client...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
defaults
  maxconn 300000
  log global
  option redispatch
  option http-server-close
  timeout http-request 10s
  timeout check 10s
  timeout connect 10s
  timeout client 1m
  timeout queue 1m
  timeout server 1m
  timeout http-keep-alive 10s
  retries                 3

global
  daemon
  maxconn 300000
  pidfile /run/haproxy.pid
  stats socket /var/run/haproxy.sock mode 777 level admin expose-fd listeners
  log 127.0.0.1:514 local2
  #stats socket /run/haproxy/admin.sock mode 777 level admin expose-fd listeners
  chroot      /var/lib/haproxy
  user        root
  group       root