From 32616807a910f9f1ad32d21caafee2cf6bec2bde Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 5 Jan 2023 10:25:30 +0100 Subject: [PATCH] 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. (cherry picked from commit d9d36b8b6bb4d8180b54b24148292a43b08041ce) Signed-off-by: Willy Tarreau (cherry picked from commit 47192fe67fb71fd27ef4f9c9d3427aa706462051) Signed-off-by: Christopher Faulet --- doc/configuration.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 8f9428372..78fdfbb6f 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -5703,17 +5703,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