]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: peers: add the "localpeer" global option
authorDragan Dosen <ddosen@haproxy.com>
Thu, 18 Jun 2020 16:24:05 +0000 (18:24 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 19 Jun 2020 09:37:30 +0000 (11:37 +0200)
commit13cd54c08b8ae78a619349a5251ac0e6001d9290
treedd4f52a3f00a1d79dd723cdb6749c7c241ef11c4
parent4f01415d3b9e1667d06c218dbd9080827fce4c23
MEDIUM: peers: add the "localpeer" global option

localpeer <name>
  Sets the local instance's peer name. It will be ignored if the "-L"
  command line argument is specified or if used after "peers" section
  definitions. In such cases, a warning message will be emitted during
  the configuration parsing.

  This option will also set the HAPROXY_LOCALPEER environment variable.
  See also "-L" in the management guide and "peers" section in the
  configuration manual.
doc/configuration.txt
include/haproxy/global-t.h
src/cfgparse-global.c
src/haproxy.c