Hi all,
Le 18/12/2015 21:51, Pavlos Parissis a écrit :
On 18/12/2015 08:05 μμ, Edward Hart (c) wrote:
In haproxy.cfg we have a defaults section. Assume that
the global section is properly configured.
defaults
log global
option httplog
other keywords
If conf1.conf were to contain its own defaults section, which conflicted
with haproxy.conf, e.g.,
defaults
log global
option tcplog
Would the conf1.conf defaults section overwrite the defaults section in
haproxy.cfg?
Yes, but only the ones defined in conf1.conf's defaults section, the
rest are inherited by the previous defaults section.
No, any new "defaults" section forgets the values defined in a previous
one. None of them are inherited.
--
Cyril Bonté