]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: explain better that named defaults are preserved
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 5 Aug 2026 09:19:33 +0000 (11:19 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 5 Aug 2026 09:32:43 +0000 (11:32 +0200)
Named defaults section are now kept after configuration by default. This
behavior change has already been explained in "tune.defaults.purge".

Mention again this change directly in "defaults" documentation. This is
the main entry point documentation for "defaults" sections, so the
change is now more visible to users.

This should be backported up to 3.4.

doc/configuration.txt

index 545907a6ab7968c79eb4712048af2b114fbfdc78..edffc7c2616c49ffc003236f1785348494651721 100644 (file)
@@ -5936,6 +5936,10 @@ of defaults sections. This can be convenient to establish certain configuration
 profiles to carry groups of default settings (e.g. TCP vs HTTP or short vs long
 timeouts) but can quickly become confusing to follow.
 
+By default, named defaults sections are preserved after configuration parsing.
+This allows to reuse them for dynamic backends creation. This behavior can be
+changed globally via "tune.defaults.purge" keyword.
+
 All proxy names must be formed from upper and lower case letters, digits,
 '-' (dash), '_' (underscore) , '.' (dot) and ':' (colon). ACL names are
 case-sensitive, which means that "www" and "WWW" are two different proxies.