req_proto_http does not work

2010-06-10 Thread Rapsey
hello, This configuration will always send to backend tcpback, if I run curl http://127.0.0.1 frontend tcpfront *:80 acl acl_ishttp req_proto_http use_backend nginx if acl_ishttp default_backend tcpback The string that curl sends is GET / HTTP/1.1\r\nUser-Agent:

Re: req_proto_http does not work

2010-06-10 Thread Willy Tarreau
On Thu, Jun 10, 2010 at 06:39:09PM +0200, Rapsey wrote: hello, This configuration will always send to backend tcpback, if I run curl http://127.0.0.1 frontend tcpfront *:80 acl acl_ishttp req_proto_http use_backend nginx if acl_ishttp default_backend tcpback

Re: req_proto_http does not work

2010-06-10 Thread Rapsey
On Thu, Jun 10, 2010 at 8:45 PM, Willy Tarreau w...@1wt.eu wrote: On Thu, Jun 10, 2010 at 06:39:09PM +0200, Rapsey wrote: hello, This configuration will always send to backend tcpback, if I run curl http://127.0.0.1 frontend tcpfront *:80 acl acl_ishttp req_proto_http