From d49b559a15a8781ba37877812d4d3ddf2cea9eb4 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Wed, 5 Oct 2022 18:09:33 +0200 Subject: [PATCH] DOC: configuration: missing 'if' in tcp-request content example An example given for tcp-request content rule with lua was missing 'if' keyword. Using it "as is" makes haproxy unhappy. The example was introduced with 579d83b05. So it may be backported as far as 1.6, but it is a really minor typo. --- doc/configuration.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index f16c779b1e..f93067b2d1 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -12748,7 +12748,7 @@ tcp-request content [{if | unless} ] available. Example: - tcp-request content use-service lua.deny { src -f /etc/haproxy/blacklist.lst } + tcp-request content use-service lua.deny if { src -f /etc/haproxy/blacklist.lst } Example: -- 2.47.3