Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- defaults
- mode http
- log global
- option httplog
- option dontlognull
- option http-server-close
- option forwardfor except 127.0.0.0/8
- option redispatch
- retries 3
- timeout http-request 20s
- timeout queue 86400
- timeout connect 86400
- timeout client 86400
- timeout server 86400
- timeout http-keep-alive 30
- timeout check 20s
- maxconn 5000
- listen stats :4997
- mode http
- stats enable
- stats hide-version
- stats realm Haproxy\ Statistics
- stats uri /
- listen smtp :25
- mode tcp
- log global
- option tcplog
- option tcp-check
- tcp-check send quit
- option smtpchk
- balance roundrobin
- server host1 168.235.86.221:25 check-send-proxy check
- #---------------------------------------------------------------------
- # main frontend which proxys to the backends
- #-------------------------------------------------------------------------------
- #---------------------------------------------------------------------
- # static backend for serving up images, stylesheets and such
- #-------------------------------------------------------------------
- #---------------------------------------------------------------------
- # round robin balancing between the various backends
- #---------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement