Skip to content

Commit add630e

Browse files
author
HAProxy Community
committed
Update docs for 2.8
1 parent 4eb7a88 commit add630e

File tree

3 files changed

+51
-27
lines changed

3 files changed

+51
-27
lines changed

docs/2.8/configuration.html

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>HAProxy version 2.8.15 - Configuration Manual</title>
5+
<title>HAProxy version 2.8.15-33 - Configuration Manual</title>
66
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" />
88
<link href="../css/page.css?0.4.2-15" rel="stylesheet" />
@@ -4294,7 +4294,7 @@
42944294
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
42954295
</p>
42964296
<p class="text-right">
4297-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/04/22</b></small>
4297+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/05/27</b></small>
42984298
</p>
42994299
</div>
43004300
<!-- /.sidebar -->
@@ -4305,7 +4305,7 @@
43054305
<div class="text-center">
43064306
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
43074307
<h2>Configuration Manual</h2>
4308-
<p><strong>version 2.8.15</strong></p>
4308+
<p><strong>version 2.8.15-33</strong></p>
43094309
<p>
43104310
2025/04/22<br>
43114311

@@ -9176,7 +9176,7 @@ <h2 id="chapter-3.9" data-target="3.9"><small><a class="small" href="#3.9">3.9.<
91769176

91779177
ring myring
91789178
description &quot;My local buffer&quot;
9179-
format rfc3164
9179+
format rfc5424
91809180
maxlen 1200
91819181
size 32764
91829182
timeout connect 5s
@@ -20174,15 +20174,20 @@ <h2 id="chapter-5.2" data-target="5.2"><small><a class="small" href="#5.2">5.2.<
2017420174
instances on the fly. This option defaults to &quot;last,libc&quot; indicating that the
2017520175
previous address found in the state file (if any) is used first, otherwise
2017620176
the libc's resolver is used. This ensures continued compatibility with the
20177-
historic behavior.
20178-
</pre><div class="separator">
20179-
<span class="label label-success">Example:</span>
20180-
<pre class="prettyprint">
20181-
<code>defaults
20182-
<span class="comment"># never fail on address resolution</span>
20183-
default-server init-addr last,libc,none
20184-
</code></pre>
20185-
</div><a class="anchor" name="inter"></a><a class="anchor" name="5-inter"></a><a class="anchor" name="5.2-inter"></a><a class="anchor" name="inter (Bind and server options)"></a><a class="anchor" name="inter (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="inter"></a><a href="#5.2-inter">inter</a></b> <span style="color: #080">&lt;delay&gt;</span></div><a class="anchor" name="fastinter"></a><a class="anchor" name="5-fastinter"></a><a class="anchor" name="5.2-fastinter"></a><a class="anchor" name="fastinter (Bind and server options)"></a><a class="anchor" name="fastinter (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="fastinter"></a><a href="#5.2-fastinter">fastinter</a></b> <span style="color: #080">&lt;delay&gt;</span></div><a class="anchor" name="downinter"></a><a class="anchor" name="5-downinter"></a><a class="anchor" name="5.2-downinter"></a><a class="anchor" name="downinter (Bind and server options)"></a><a class="anchor" name="downinter (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="downinter"></a><a href="#5.2-downinter">downinter</a></b> <span style="color: #080">&lt;delay&gt;</span></div><pre class="text">The &quot;<a href="#inter">inter</a>&quot; parameter sets the interval between two consecutive health checks
20177+
historic behavior. When using internal resolvers, it is generally recommended
20178+
to either disable libc-based resolution, or make it explicit (see <a href="#5.3">section 5.3</a>
20179+
for more details).
20180+
20181+
Example 1:
20182+
defaults
20183+
# never fail on address resolution
20184+
default-server init-addr last,libc,none
20185+
20186+
Example 2:
20187+
defaults
20188+
# disable libc resolution in combination with resolvers
20189+
default-server init-addr last,none
20190+
</pre><a class="anchor" name="inter"></a><a class="anchor" name="5-inter"></a><a class="anchor" name="5.2-inter"></a><a class="anchor" name="inter (Bind and server options)"></a><a class="anchor" name="inter (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="inter"></a><a href="#5.2-inter">inter</a></b> <span style="color: #080">&lt;delay&gt;</span></div><a class="anchor" name="fastinter"></a><a class="anchor" name="5-fastinter"></a><a class="anchor" name="5.2-fastinter"></a><a class="anchor" name="fastinter (Bind and server options)"></a><a class="anchor" name="fastinter (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="fastinter"></a><a href="#5.2-fastinter">fastinter</a></b> <span style="color: #080">&lt;delay&gt;</span></div><a class="anchor" name="downinter"></a><a class="anchor" name="5-downinter"></a><a class="anchor" name="5.2-downinter"></a><a class="anchor" name="downinter (Bind and server options)"></a><a class="anchor" name="downinter (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="downinter"></a><a href="#5.2-downinter">downinter</a></b> <span style="color: #080">&lt;delay&gt;</span></div><pre class="text">The &quot;<a href="#inter">inter</a>&quot; parameter sets the interval between two consecutive health checks
2018620191
to &lt;delay&gt; milliseconds. If left unspecified, the delay defaults to 2000 ms.
2018720192
It is also possible to use &quot;<a href="#fastinter">fastinter</a>&quot; and &quot;<a href="#downinter">downinter</a>&quot; to optimize delays
2018820193
between checks depending on the server state :
@@ -20543,13 +20548,16 @@ <h2 id="chapter-5.2" data-target="5.2"><small><a class="small" href="#5.2">5.2.<
2054320548
<code>server s1 app1.domain.com:80 resolvers mydns resolve-net 10.0.0.0/8
2054420549
</code></pre>
2054520550
</div><a class="anchor" name="resolvers"></a><a class="anchor" name="5-resolvers"></a><a class="anchor" name="5.2-resolvers"></a><a class="anchor" name="resolvers (Bind and server options)"></a><a class="anchor" name="resolvers (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="resolvers"></a><a href="#5.2-resolvers">resolvers</a></b> <span style="color: #080">&lt;id&gt;</span></div><pre class="text">Points to an existing &quot;<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">resolvers<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#resolvers%20%28Server%20and%20default-server%20options%29">Server and default-server options</a></li><li><a href="#resolvers%20%28The%20resolvers%20section%29">The resolvers section</a></li></ul></span>&quot; section to resolve current server's
20546-
hostname.
20551+
hostname. It is often recommended to disable libc-based resolution when using
20552+
resolvers, though exceptions exist (see <a href="#5.3.1">section 5.3.1</a>). In any case it is a
20553+
good practice to explicitly specify &quot;<a href="#init-addr">init-addr</a>&quot; when using resolvers in order
20554+
not to overlook this element.
2054720555
</pre><div class="separator">
2054820556
<span class="label label-success">Example:</span>
2054920557
<pre class="prettyprint">
20550-
<code>server s1 app1.domain.com:80 check resolvers mydns
20558+
<code>server s1 app1.domain.com:80 init-addr last,none check resolvers mydns
2055120559
</code></pre>
20552-
</div><pre class="text">See also <a href="#5.3">section 5.3</a>
20560+
</div><pre class="text">See also <a href="#5.3">section 5.3</a> for implementation details and traps to be aware of.
2055320561
</pre><a class="anchor" name="send-proxy"></a><a class="anchor" name="5-send-proxy"></a><a class="anchor" name="5.2-send-proxy"></a><a class="anchor" name="send-proxy (Bind and server options)"></a><a class="anchor" name="send-proxy (Server and default-server options)"></a><div class="keyword"><b><a class="anchor" name="send-proxy"></a><a href="#5.2-send-proxy">send-proxy</a></b></div><pre class="text">The &quot;<a href="#send-proxy">send-proxy</a>&quot; parameter enforces use of the PROXY protocol over any
2055420562
connection established to this server. The PROXY protocol informs the other
2055520563
end about the layer 3/4 addresses of the incoming connection, so that it can
@@ -20798,10 +20806,13 @@ <h2 id="chapter-5.3" data-target="5.3"><small><a class="small" href="#5.3">5.3.<
2079820806
This is not sufficient in some cases, such as in Amazon where a server's IP
2079920807
can change after a reboot or an ELB Virtual IP can change based on current
2080020808
workload.
20809+
2080120810
This chapter describes how HAProxy can be configured to process server's name
2080220811
resolution at run time.
20803-
Whether run time server name resolution has been enable or not, HAProxy will
20804-
carry on doing the first resolution when parsing the configuration.
20812+
20813+
Whether run time server name resolution has been enable or not, by default
20814+
HAProxy will do the first resolution at startup during configuration parsing
20815+
via libc unless disabled by the &quot;<a href="#init-addr">init-addr</a>&quot; parameter.
2080520816
</pre></div>
2080620817
<a class="anchor" id="5.3.1" name="5.3.1"></a>
2080720818
<h3 id="chapter-5.3.1" data-target="5.3.1"><small><a class="small" href="#5.3.1">5.3.1.</a></small> Global overview</h3>
@@ -20833,6 +20844,17 @@ <h3 id="chapter-5.3.1" data-target="5.3.1"><small><a class="small" href="#5.3.1"
2083320844

2083420845
- a resolution is considered as invalid (NX, timeout, refused), when all the
2083520846
servers return an error.
20847+
20848+
- The DNS client implemented in HAProxy is very basic and will not understand
20849+
the vast number of options and advanced setups that an operating system's
20850+
resolver can deal with. As such, except for really trivial setups where a
20851+
server known by its FQDN only has exactly one IP address at a time and
20852+
might occasionally renew it (e.g. a reboot), it is highly recommended to
20853+
avoid mixing libc-based init-time resolution with DNS-based runtime
20854+
resolution, as such setups are known to cause failures upon address
20855+
renewal. As a conclusion, unless you know exactly what you are doing, you
20856+
should always exclude &quot;libc&quot; from &quot;<a href="#init-addr">init-addr</a>&quot; when using &quot;<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">resolvers<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#resolvers%20%28Server%20and%20default-server%20options%29">Server and default-server options</a></li><li><a href="#resolvers%20%28The%20resolvers%20section%29">The resolvers section</a></li></ul></span>&quot; on a
20857+
server line.
2083620858
</pre></div>
2083720859
<a class="anchor" id="5.3.2" name="5.3.2"></a>
2083820860
<h3 id="chapter-5.3.2" data-target="5.3.2"><small><a class="small" href="#5.3.2">5.3.2.</a></small> The resolvers section</h3>
@@ -20959,6 +20981,8 @@ <h3 id="chapter-5.3.2" data-target="5.3.2"><small><a class="small" href="#5.3.2"
2095920981
valid status from the DNS server.
2096020982

2096120983
A separate behavior exists for &quot;hold valid&quot; and &quot;hold obsolete&quot;.
20984+
20985+
Default value is 10s for &quot;valid&quot;, 0s for &quot;obsolete&quot; and 30s for others.
2096220986
</pre><a class="anchor" name="resolve_retries"></a><a class="anchor" name="5-resolve_retries"></a><a class="anchor" name="5.3.2-resolve_retries"></a><a class="anchor" name="resolve_retries (Bind and server options)"></a><a class="anchor" name="resolve_retries (The resolvers section)"></a><div class="keyword"><b><a class="anchor" name="resolve_retries"></a><a href="#5.3.2-resolve_retries">resolve_retries</a></b> <span style="color: #080">&lt;nb&gt;</span></div><pre class="text">Defines the number &lt;nb&gt; of queries to send to resolve a server name before
2096320987
giving up.
2096420988
Default value: 3
@@ -27894,7 +27918,7 @@ <h2 id="chapter-11.3" data-target="11.3"><small><a class="small" href="#11.3">11
2789427918
<br>
2789527919
<hr>
2789627920
<div class="text-right">
27897-
HAProxy 2.8.15 &ndash; Configuration Manual<br>
27921+
HAProxy 2.8.15-33 &ndash; Configuration Manual<br>
2789827922
<small>, 2025/04/22</small>
2789927923
</div>
2790027924
</div>

docs/2.8/intro.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>HAProxy version 2.8.15 - Starter Guide</title>
5+
<title>HAProxy version 2.8.15-33 - Starter Guide</title>
66
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" />
88
<link href="../css/page.css?0.4.2-15" rel="stylesheet" />
@@ -484,7 +484,7 @@
484484
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
485485
</p>
486486
<p class="text-right">
487-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/04/22</b></small>
487+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/05/27</b></small>
488488
</p>
489489
</div>
490490
<!-- /.sidebar -->
@@ -495,7 +495,7 @@
495495
<div class="text-center">
496496
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
497497
<h2>Starter Guide</h2>
498-
<p><strong>version 2.8.15</strong></p>
498+
<p><strong>version 2.8.15-33</strong></p>
499499
<p>
500500
<br>
501501

@@ -2515,7 +2515,7 @@ <h2 id="chapter-4.4" data-target="4.4"><small><a class="small" href="#4.4">4.4.<
25152515
<br>
25162516
<hr>
25172517
<div class="text-right">
2518-
HAProxy 2.8.15 &ndash; Starter Guide<br>
2518+
HAProxy 2.8.15-33 &ndash; Starter Guide<br>
25192519
<small>, </small>
25202520
</div>
25212521
</div>

docs/2.8/management.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>HAProxy version 2.8.15 - Management Guide</title>
5+
<title>HAProxy version 2.8.15-33 - Management Guide</title>
66
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" />
88
<link href="../css/page.css?0.4.2-15" rel="stylesheet" />
@@ -610,7 +610,7 @@
610610
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
611611
</p>
612612
<p class="text-right">
613-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/04/22</b></small>
613+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/05/27</b></small>
614614
</p>
615615
</div>
616616
<!-- /.sidebar -->
@@ -621,7 +621,7 @@
621621
<div class="text-center">
622622
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
623623
<h2>Management Guide</h2>
624-
<p><strong>version 2.8.15</strong></p>
624+
<p><strong>version 2.8.15-33</strong></p>
625625
<p>
626626
<br>
627627

@@ -4971,7 +4971,7 @@ <h3 id="chapter-9.4.1" data-target="9.4.1"><small><a class="small" href="#9.4.1"
49714971
<br>
49724972
<hr>
49734973
<div class="text-right">
4974-
HAProxy 2.8.15 &ndash; Management Guide<br>
4974+
HAProxy 2.8.15-33 &ndash; Management Guide<br>
49754975
<small>, </small>
49764976
</div>
49774977
</div>

0 commit comments

Comments
 (0)