标签:
global log 127.0.0.1 local0 notice maxconn 50000 daemon defaults log global mode http option httplog option dontlognull contimeout 120000 clitimeout 120000 srvtimeout 120000 option forwardfor option http-server-close # Configuration for HTTP site frontend http-in bind 192.168.1.90:80 acl is_blog url_beg /blog use_backend tecadmin_blog if is_blog default_backend tecadmin_website backend tecadmin_blog mode http balance roundrobin # Load Balancing algorithm option httpchk option forwardfor server WEB2 192.168.1.105:80 weight 1 maxconn 512 check backend tecadmin_website mode http balance roundrobin # Load Balancing algorithm option httpchk option forwardfor server WEB1 192.168.1.103:80 weight 1 maxconn 512 check server WEB2 192.168.1.105:80 weight 1 maxconn 512 check
标签:
原文地址:http://www.cnblogs.com/Mrhuangrui/p/4600983.html