|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8" /> |
5 | | - <title>HAProxy version 3.5-dev3-150 - Configuration Manual</title> |
| 5 | + <title>HAProxy version 3.5-dev3-157 - 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" /> |
|
4900 | 4900 | You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br> |
4901 | 4901 | </p> |
4902 | 4902 | <p class="text-right"> |
4903 | | - <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/08/04</b></small> |
| 4903 | + <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/08/05</b></small> |
4904 | 4904 | </p> |
4905 | 4905 | </div> |
4906 | 4906 | <!-- /.sidebar --> |
|
4911 | 4911 | <div class="text-center"> |
4912 | 4912 | <h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1> |
4913 | 4913 | <h2>Configuration Manual</h2> |
4914 | | - <p><strong>version 3.5-dev3-150</strong></p> |
| 4914 | + <p><strong>version 3.5-dev3-157</strong></p> |
4915 | 4915 | <p> |
4916 | 4916 | 2026/07/22<br> |
4917 | 4917 |
|
@@ -9964,7 +9964,8 @@ <h2 id="chapter-3.2" data-target="3.2"><small><a class="small" href="#3.2">3.2.< |
9964 | 9964 |
|
9965 | 9965 | Default-server instances are kept in memory after parsing as they may be |
9966 | 9966 | reused for dynamic servers added at runtime. Similarly, named defaults |
9967 | | -proxies sections are preserved as dynamic backends rely on them. |
| 9967 | +proxies sections are preserved as dynamic backends rely on them. The command |
| 9968 | +"show default-server" and "show defaults" may be used to list them. |
9968 | 9969 |
|
9969 | 9970 | This may consume a noticeable amount of memory if the number of default |
9970 | 9971 | instances is important. It's possible to reclaim this memory after the |
@@ -11375,6 +11376,11 @@ <h2 id="chapter-3.4" data-target="3.4"><small><a class="small" href="#3.4">3.4.< |
11375 | 11376 | profiles to carry groups of default settings (e.g. TCP vs HTTP or short vs long |
11376 | 11377 | timeouts) but can quickly become confusing to follow. |
11377 | 11378 |
|
| 11379 | +By default, named defaults sections are preserved after configuration parsing. |
| 11380 | +This allows to reuse them for dynamic backends creation. This behavior can be |
| 11381 | +changed globally via "<a href="#tune.defaults.purge">tune.defaults.purge</a>" keyword. It is possible to list the |
| 11382 | +preserved instances via the command "show defaults". |
| 11383 | + |
11378 | 11384 | All proxy names must be formed from upper and lower case letters, digits, |
11379 | 11385 | '-' (dash), '_' (underscore) , '.' (dot) and ':' (colon). ACL names are |
11380 | 11386 | case-sensitive, which means that "www" and "WWW" are two different proxies. |
@@ -12778,10 +12784,14 @@ <h2 id="chapter-4.2" data-target="4.2"><small><a class="small" href="#4.2">4.2.< |
12778 | 12784 | completing the previous one. This set of options can be reset by using the |
12779 | 12785 | "from none" keyword value. |
12780 | 12786 |
|
12781 | | -An unnamed default-server with no parameter set will automatically be purged |
12782 | | -after parsing. As such, a final "default-server from none" statement will be |
12783 | | -sufficient to release this unused memory, regardless of the global setting |
12784 | | -"<a href="#tune.defaults.purge">tune.defaults.purge</a>" value. |
| 12787 | +By default, all default-server named and unnamed are preserved after |
| 12788 | +configuration parsing. This allows to reuse them for dynamic servers |
| 12789 | +creation. This behavior can be changed globally via "<a href="#tune.defaults.purge">tune.defaults.purge</a>" |
| 12790 | +keyword. An unnamed default-server with no parameter set will automatically |
| 12791 | +be purged after parsing. As such, a final "default-server from none" |
| 12792 | +statement will be sufficient to release this unused memory, regardless of the |
| 12793 | +global setting. It is possible to list the preserved instances via the |
| 12794 | +command "show default-server". |
12785 | 12795 | </pre><div class="page-header"><b>See also:</b> "<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">server<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#server%20%28Peers%20declaration%29">Peers declaration</a></li><li><a href="#server%20%28Rings%29">Rings</a></li><li><a href="#server%20%28Alphabetically%20sorted%20keywords%20reference%29">Alphabetically sorted keywords reference</a></li></ul></span>", <a href="#5">section 5</a> about server options and global "<a href="#tune.defaults.purge">tune.defaults.purge</a>" option</div> |
12786 | 12796 | <a class="anchor" name="default_backend"></a><a class="anchor" name="4-default_backend"></a><a class="anchor" name="4.2-default_backend"></a><a class="anchor" name="default_backend (Proxies)"></a><a class="anchor" name="default_backend (Alphabetically sorted keywords reference)"></a><div class="keyword"><b><a class="anchor" name="default_backend"></a><a href="#4.2-default_backend">default_backend</a></b> <span style="color: #080"><backend></span></div><pre class="text">Specify the backend to use when no "<a href="#use_backend">use_backend</a>" rule has been matched. |
12787 | 12797 |
|
@@ -35623,7 +35633,7 @@ <h2 id="chapter-12.9" data-target="12.9"><small><a class="small" href="#12.9">12 |
35623 | 35633 | <br> |
35624 | 35634 | <hr> |
35625 | 35635 | <div class="text-right"> |
35626 | | - HAProxy 3.5-dev3-150 – Configuration Manual<br> |
| 35636 | + HAProxy 3.5-dev3-157 – Configuration Manual<br> |
35627 | 35637 | <small>, 2026/07/22</small> |
35628 | 35638 | </div> |
35629 | 35639 | </div> |
|
0 commit comments