frontend webserver
bind *:80
use_backend websrvs
backend websrvs
balance uri # 指明 uri 调度算法
hash-type consistent # 一致性哈希
server web1 192.168.2.11:80 check
server web2 192.168.2.12:80 check
标签:haproxy,websrvs,uri,192.168,调度,80,check,backend
来源: https://www.cnblogs.com/ckh2014/p/15777635.html