]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: config: fix alphabetical ordering of http-after-response rules
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Jan 2023 09:25:30 +0000 (10:25 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Jan 2023 09:25:32 +0000 (10:25 +0100)
The 'capture' action must be placed after the 'allow' action.

This patch could be backported as far as 2.5.

doc/configuration.txt

index fafaa3470886f878ec82299f6014d29df3943958..9ab84abecb6001d66214f9fce3df018b6b57d318 100644 (file)
@@ -5848,17 +5848,17 @@ http-after-response add-header <name> <fmt> [ { if | unless } <condition> ]
   value is defined by <fmt>. Please refer to "http-request add-header" for a
   complete description.
 
+http-after-response allow [ { if | unless } <condition> ]
+
+  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 <sample> id <id> [ { if | unless } <condition> ]
 
   This captures sample expression <sample> 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 } <condition> ]
-
-  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 <name> [ -m <meth> ] [ { if | unless } <condition> ]
 
   This removes all HTTP header fields whose name is specified in <name>. Please