SHARE
TWEET

Untitled

a guest Jul 5th, 2019 245 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. defaults
  2.     # never fail on address resolution
  3.     default-server init-addr libc,none
  4.     option log-health-checks
  5.     option httplog
  6.  
  7. resolvers myresolver
  8.     nameserver a 127.0.0.1:53
  9.     hold valid 1000s
  10.  
  11. global
  12.     ca-base /etc/ssl/certs
  13.     maxconn     20000
  14.     log         /dev-log local0 debug
  15.     user        haproxy
  16.     chroot      /usr/share/haproxy
  17.     pidfile     /run/haproxy.pid
  18.     daemon
  19.  
  20. frontend  main
  21.     bind :3129
  22.     mode                 http
  23.     log                  global
  24.     maxconn              8000
  25.     timeout              client  30s
  26.     default_backend             app
  27.  
  28. backend app
  29.     log                  global
  30.     mode        http
  31.     reqadd      Proxy-Authorization:\ Basic\ xxx
  32.     timeout     connect 5s
  33.     timeout     server  30s
  34.     timeout     queue   30s
  35.     server  app1 myproxyhost:443 resolvers myresolver ssl verify required ca-file ca-certificates.crt
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top