# Automaticaly generated, dont edit manually. # Generated on: 2021-01-15 21:19 global maxconn 100 stats socket /tmp/haproxy.socket level admin expose-fd listeners uid 80 gid 80 nbproc 1 nbthread 1 hard-stop-after 15m chroot /tmp/haproxy_chroot daemon tune.ssl.default-dh-param 2048 server-state-file /tmp/haproxy_server_state listen HAProxyLocalStats bind 127.0.0.1:2200 name localstats mode http stats enable stats refresh 10 stats admin if TRUE stats show-legends stats uri /haproxy/haproxy_stats.php?haproxystats=1 timeout client 5000 timeout connect 5000 timeout server 5000 mailers globalmailers mailer serveur 192.168.4.240:25 frontend zelec bind 92.188.16.194:80 name 92.188.16.194:80 mode http log global option http-keep-alive timeout client 30000 acl dolizelec var(txn.txnhost) -m str -i dolizelec.zelec.homelinux.net http-request set-var(txn.txnhost) hdr(host) use_backend dolizelec_ipvANY if dolizelec default_backend dolizelec_ipvANY frontend zelec_secure bind 92.188.16.194:443 name 92.188.16.194:443 mode tcp log global timeout client 30000 tcp-request inspect-delay 5s acl dolizelecsecure req.ssl_sni -i dolizelec tcp-request content accept if { req.ssl_hello_type 1 } use_backend dolizelecs_ipvANY if dolizelecsecure default_backend dolizelecs_ipvANY backend dolizelec_ipvANY mode http id 100 log global # use mailers # level notice email-alert mailers globalmailers email-alert level notice email-alert from routeur@z-elec.com email-alert to benoit@z-elec.com email-alert myhostname routeur timeout connect 30000 timeout server 30000 retries 3 option httpchk OPTIONS / server dolizelec 192.168.4.246:80 id 101 check inter 1000 backend dolizelecs_ipvANY mode tcp id 105 log global # use mailers # level notice email-alert mailers globalmailers email-alert level notice email-alert from routeur@z-elec.com email-alert to benoit@z-elec.com email-alert myhostname routeur timeout connect 30000 timeout server 30000 retries 3 server dolizelec_secur 192.168.4.246:443 id 106 check-ssl verify none