From: Thierry FOURNIER Date: Thu, 4 Jun 2015 10:23:41 +0000 (+0200) Subject: DOC: mention the "lua action" in documentation X-Git-Tag: v1.6-dev2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69717b4b9b4307e022ad53286d1e2e5c22e6fbb6;p=thirdparty%2Fhaproxy.git DOC: mention the "lua action" in documentation Fix some precision about lua. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 63a28304b6..59425aa8c2 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -8208,6 +8208,7 @@ tcp-request content [{if | unless} ] - reject : the request is rejected and the connection is closed - capture : the specified sample expression is captured - { track-sc0 | track-sc1 | track-sc2 } [table ] + - lua They have the same meaning as their counter-parts in "tcp-request connection" so please refer to that section for a complete description. @@ -8389,6 +8390,9 @@ tcp-response content [{if | unless} ] or false (when used with "unless"). The first such rule executed ends the rules evaluation. Rejected session are immediately closed. + - lua + Executes Lua. + Note that the "if/unless" condition is optional. If no condition is set on the action, it is simply performed unconditionally. That can be useful for for changing the default action to a reject.