|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8" /> |
5 | | - <title>HAProxy version 2.4.31 - Configuration Manual</title> |
| 5 | + <title>HAProxy version 2.4.31-14 - Configuration Manual</title> |
6 | 6 | <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" /> |
7 | 7 | <link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" /> |
8 | 8 | <link href="../css/page.css?0.4.2-15" rel="stylesheet" /> |
|
3757 | 3757 | You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br> |
3758 | 3758 | </p> |
3759 | 3759 | <p class="text-right"> |
3760 | | - <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/03/09</b></small> |
| 3760 | + <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/04/17</b></small> |
3761 | 3761 | </p> |
3762 | 3762 | </div> |
3763 | 3763 | <!-- /.sidebar --> |
|
3768 | 3768 | <div class="text-center"> |
3769 | 3769 | <h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1> |
3770 | 3770 | <h2>Configuration Manual</h2> |
3771 | | - <p><strong>version 2.4.31</strong></p> |
| 3771 | + <p><strong>version 2.4.31-14</strong></p> |
3772 | 3772 | <p> |
3773 | 3773 | 2026/03/09<br> |
3774 | 3774 |
|
@@ -9852,6 +9852,11 @@ <h2 id="chapter-4.2" data-target="4.2"><small><a class="small" href="#4.2">4.2.< |
9852 | 9852 | occurred during the expect rule evaluation. <fmt> is a |
9853 | 9853 | log-format string. |
9854 | 9854 |
|
| 9855 | +status-code <expr> is optional and can be used to set the check status code |
| 9856 | + reported in logs, on success or on error. <expr> is a |
| 9857 | + standard HAProxy expression formed by a sample-fetch |
| 9858 | + followed by some converters. |
| 9859 | + |
9855 | 9860 | <match> is a keyword indicating how to look for a specific pattern in the |
9856 | 9861 | response. The keyword may be one of "<a href="#status">status</a>", "rstatus", "<a href="#hdr">hdr</a>", |
9857 | 9862 | "fhdr", "string", or "rstring". The keyword may be preceded by an |
@@ -9960,7 +9965,7 @@ <h2 id="chapter-4.2" data-target="4.2"><small><a class="small" href="#4.2">4.2.< |
9960 | 9965 | http-check expect status 200,201,300-310 |
9961 | 9966 |
|
9962 | 9967 | <span class="comment"># be sure a sessid coookie is set</span> |
9963 | | -http-check expect header name "<a href="#set-cookie">set-cookie</a>" value -m beg "sessid=" |
| 9968 | +http-check expect hdr name "<a href="#set-cookie">set-cookie</a>" value -m beg "sessid=" |
9964 | 9969 |
|
9965 | 9970 | <span class="comment"># consider SQL errors as errors</span> |
9966 | 9971 | http-check expect ! string SQL\ Error |
@@ -15672,13 +15677,6 @@ <h2 id="chapter-4.2" data-target="4.2"><small><a class="small" href="#4.2">4.2.< |
15672 | 15677 | does not match, the check will wait for more data. If set to 0, |
15673 | 15678 | the evaluation result is always conclusive. |
15674 | 15679 |
|
15675 | | -<match> is a keyword indicating how to look for a specific pattern in the |
15676 | | - response. The keyword may be one of "string", "rstring", "binary" or |
15677 | | - "rbinary". |
15678 | | - The keyword may be preceded by an exclamation mark ("!") to negate |
15679 | | - the match. Spaces are allowed between the exclamation mark and the |
15680 | | - keyword. See below for more details on the supported keywords. |
15681 | | - |
15682 | 15680 | ok-status <st> is optional and can be used to set the check status if |
15683 | 15681 | the expect rule is successfully evaluated and if it is |
15684 | 15682 | the last rule in the tcp-check ruleset. "L7OK", "L7OKC", |
@@ -15725,6 +15723,13 @@ <h2 id="chapter-4.2" data-target="4.2"><small><a class="small" href="#4.2">4.2.< |
15725 | 15723 | standard HAProxy expression formed by a sample-fetch |
15726 | 15724 | followed by some converters. |
15727 | 15725 |
|
| 15726 | +<match> is a keyword indicating how to look for a specific pattern in the |
| 15727 | + response. The keyword may be one of "string", "rstring", "binary" or |
| 15728 | + "rbinary". |
| 15729 | + The keyword may be preceded by an exclamation mark ("!") to negate |
| 15730 | + the match. Spaces are allowed between the exclamation mark and the |
| 15731 | + keyword. See below for more details on the supported keywords. |
| 15732 | + |
15728 | 15733 | <pattern> is the pattern to look for. It may be a string or a regular |
15729 | 15734 | expression. If the pattern contains spaces, they must be escaped |
15730 | 15735 | with the usual backslash ('\'). |
@@ -24861,7 +24866,7 @@ <h2 id="chapter-11.3" data-target="11.3"><small><a class="small" href="#11.3">11 |
24861 | 24866 | <br> |
24862 | 24867 | <hr> |
24863 | 24868 | <div class="text-right"> |
24864 | | - HAProxy 2.4.31 – Configuration Manual<br> |
| 24869 | + HAProxy 2.4.31-14 – Configuration Manual<br> |
24865 | 24870 | <small>, 2026/03/09</small> |
24866 | 24871 | </div> |
24867 | 24872 | </div> |
|
0 commit comments