From 82afd36b6cb470de14188f7c27e131b03a65466c Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Fri, 20 Mar 2026 11:33:32 +0100 Subject: [PATCH] DOC: config: Add missing 'status-code' param for 'http-check expect' directive In the documentation of 'http-check expect' directive, the parameter 'status-code' was missing. Let's add it. This patch could be backported to all stable versions. --- doc/configuration.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/configuration.txt b/doc/configuration.txt index a5195a1d7..c9bfd976e 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -8326,6 +8326,11 @@ http-check expect [min-recv ] [comment ] occurred during the expect rule evaluation. is a Custom log format string (see section 8.2.6). + status-code is optional and can be used to set the check status code + reported in logs, on success or on error. is a + standard HAProxy expression formed by a sample-fetch + followed by some converters. + is a keyword indicating how to look for a specific pattern in the response. The keyword may be one of "status", "rstatus", "hdr", "fhdr", "string", or "rstring". The keyword may be preceded by an -- 2.47.3