mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-09 08:51:28 -04:00
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.
This commit is contained in:
parent
ada33006ef
commit
82afd36b6c
1 changed files with 5 additions and 0 deletions
|
|
@ -8326,6 +8326,11 @@ http-check expect [min-recv <int>] [comment <msg>]
|
|||
occurred during the expect rule evaluation. <fmt> is a
|
||||
Custom log format string (see section 8.2.6).
|
||||
|
||||
status-code <expr> is optional and can be used to set the check status code
|
||||
reported in logs, on success or on error. <expr> is a
|
||||
standard HAProxy expression formed by a sample-fetch
|
||||
followed by some converters.
|
||||
|
||||
<match> 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue