From: Christopher Faulet Date: Thu, 5 Jan 2023 09:25:30 +0000 (+0100) Subject: DOC: config: fix alphabetical ordering of http-after-response rules X-Git-Tag: v2.8-dev1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9d36b8b6bb4d8180b54b24148292a43b08041ce;p=thirdparty%2Fhaproxy.git DOC: config: fix alphabetical ordering of http-after-response rules The 'capture' action must be placed after the 'allow' action. This patch could be backported as far as 2.5. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index fafaa34708..9ab84abecb 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -5848,17 +5848,17 @@ http-after-response add-header [ { if | unless } ] value is defined by . Please refer to "http-request add-header" for a complete description. +http-after-response allow [ { if | unless } ] + + This stops the evaluation of the rules and lets the response pass the check. + No further "http-after-response" rules are evaluated for the current section. + http-after-response capture id [ { if | unless } ] This captures sample expression from the response buffer, and converts it to a string. Please refer to "http-response capture" for a complete description. -http-after-response allow [ { if | unless } ] - - This stops the evaluation of the rules and lets the response pass the check. - No further "http-after-response" rules are evaluated for the current section. - http-after-response del-header [ -m ] [ { if | unless } ] This removes all HTTP header fields whose name is specified in . Please