这是一些haproxy错误?

我从http://sniffyourkid.com去,然后更改urlhttp://sniffyourkid.com/blog ,它不能去的Apache,而是去我的其他networking服务器sniffyourkid.com是。 这是间歇性的,有时会从www.sniffyourkid.com/到www.sniffyourkid.com/blog更频繁地发生。 如果我刷新几次它终于去apache。 这太奇怪了。 在wireshark中,我从跟踪中看到,它错误地击中了错误的Web服务器,并且我看到奇怪的TCP无序数据包(不知道它是否重要)

# this config needs haproxy-1.1.28 or haproxy-1.2.1 global log 127.0.0.1 local0 log 127.0.0.1 local1 notice #log loghost local0 info maxconn 4096 #chroot /usr/share/haproxy user haproxy group haproxy daemon #debug #quiet defaults log global mode http option httplog option dontlognull retries 3 option redispatch maxconn 2000 contimeout 5000 clitimeout 50000 srvtimeout 50000 frontend http_proxy bind 0.0.0.0:80 acl is_blog path_beg /blog acl is_stats path_beg /haproxystats use_backend cluster2 if is_blog use_backend statistics if is_stats use_backend cluster1 if !is_blog !is_stats backend statistics stats enable stats uri /haproxystats backend cluster1 option httpchk cookie SERVERID rewrite server server1 127.0.0.1:9080 cookie inst1cookie check inter 2000 rise 2 fall 5 backend cluster2 option httpchk cookie SERVERID rewrite server server1 127.0.0.1:8080 cookie inst1cookie check inter 2000 rise 2 fall 5 

我认为这是版本,正确的…. –

 root@Sniffy:/etc/haproxy# apt-show-versions haproxy haproxy/precise uptodate 1.4.18-0ubuntu1 

你的configuration缺less“选项http-server-close”,所以它工作在隧道模式。