Suggestion

2021-10-21 Thread Steve Hand
I wasted a day yesterday with this config.   This all seemed to work randomly, 
sometimes routing to default backend, sometimes routing to the acl backend.

The problem was I had ‘mode tcp’ in global and had to add ‘mode http’ to the 
frontend, otherwise, the acl can’t see the headers.

Whilst I understand now why this was the case I was baffled for many hours 
because it just worked but apparently randomly.

Do you think a warning - “Use of acl rules in tcp mode won’t match header 
rules” ? Or something would be useful?

Thanks,

Jack.

# Frontend listen ports

frontend f_http_80

bind *:80

acl community hdr(host) -i community.xx.com
use_backend b_http_community if community

default_backend b_http_varnish





Re: [EXTERNAL] [PATCH] BUILD/MINOR: healthcheck netbsd build fix

2021-10-21 Thread Amaury Denoyelle
On Wed, Oct 20, 2021 at 07:03:43PM +0100, David CARLIER wrote:
> Hi
> here a little patch for netbsd system.
> Kind regards.

Thanks, I'm currently trying to fix other issues with NetBSD9.2, so I'll
merge your patch with my work.

-- 
Amaury Denoyelle