HAProxy显示客户端连接到127.0.0.1:81 503错误

我有以下HAProxyconfiguration:

(...) frontend mixed mode http bind [PUBLIC IP]:80 bind 127.0.0.1:81 # [for https via stunnel] bind [OTHER PUBLIC IP]:80 option httplog option dontlognull option httpclose maxconn 8000 # non-ssl api acl API hdr_dom(host) -i api.example.com use_backend apiserver if API default_backend hosted_app backend hosted_app mode http balance roundrobin server gae ghs.google.com (...) 

我的问题是,一切工作正常的公共IP地址,但是当我做:

 curl 127.0.0.1:81 --header 'Host: client.domain.com' 

一段时间后我得到503错误…

尽pipe这个例子工作正常:

 curl 127.0.0.1:81 --header 'Host: api.example.com' curl client.domain.com:80 

哪里不对?