On Thu, Jun 10, 2010 at 8:45 PM, Willy Tarreau 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
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 tc
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: curl/7
3 matches
Mail list logo