Hi,
        I was wondering if there was support within haproxy to return the
content of a file as a result of an ACL, similar to how 'errorfile'
returns the content of a file when haproxy gets that error from the
underlying?

For example, I want this to do what I mean:

acl under_construction nbsrv(pool) lt 1
printfile ./underconstruction.html if under_construction

So if less than 1 of the members of 'pool' are reported up, emit a
static page without depending on it being available on a pool member or
some remote host that may or may not be available.  

Or is it already there and I'm missing it in the docs?

Thanks,
= MAtt



Reply via email to