On Feb 2, 2022, at 3:42 AM, Christopher Faulet <[email protected]> wrote: > > Le 2/1/22 à 18:31, Jay Wren (jawren) a écrit : >> I think I've found an error in the docs. The entry for `http-request return` >> shows the last component as [ {if | unless} <condition> ] but if I leave >> that off in a backend I get [ALERT] parsing... 'http-request return' expects >> either 'if' or 'unless' followed by a condition but found ‘…'. > > Hi, > > The ACL part in the "http-request return" rule is optional. Otherwise it > means there is a bug in the parser. But, first of all, you should share the > failing rule and the HAProxy version you use.
Using haproxy 2.4.12 Thanks for the correction. When trying to create a simple config file to repro I was not able to do so. After some investigation, I see that I was mis-reading the error message. I had incorrect syntax. Sorry for the noise. — Jay
smime.p7s
Description: S/MIME cryptographic signature

