haproxy の構成に大きな問題があります。私はURLを持っています:
http://domain.com/some-text/?9/3/90/custom/184/2256184/2.jpg<br>
目標は、Haproxy が常に同じ Web サーバーで同じ ID (例 2256184) の URL を送信することです。
パラメータ「balance uri depth 8」を試しましたが、うまくいきません。問題を解決する方法を知っている人はいますか?
私のhaproxy 1.5構成:
global
log /dev/log local0 debug
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon
maxconn 5000
defaults
log global
mode http
option httplog
option forwardfor
option http-server-close
option dontlognull
timeout connect 5s
timeout client 25s
timeout server 25s
frontend http-frontend
bind 0.0.0.0:80
mode http
maxconn 50000
default_backend webfarm
backend webfarm
mode http
balance uri depth 8
option forwardfor
hash-type consistent
server webmember01 192.168.10.22:80 weight 50 check
server webmember02 192.168.10.23:80 weight 50 check