DOC: config: Fix bind/server/peer documentation in the peers section
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 31 May 2023 09:55:23 +0000 (11:55 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 31 May 2023 10:03:43 +0000 (12:03 +0200)
commit76a98b49053e3e3a177f04b21699807fabf403cb
tree60aab47211971f1d502cf97f66f9ec3989b7ec91
parentf279a2f148419efd3ecdbe84789ca97f297a6450
DOC: config: Fix bind/server/peer documentation in the peers section

Documentation about bind and server directives in the peers section was
retrieved from the proxy part but there are some limitations, especially for
the bind directive. And the same is true for the peer directive. It is
forbidden to have several listening addresses. Multiple addresses or port
range are not allowed.

Here, only the documentation is fixed. The configuration parsing will be
improved later to trigger errors on bad uses.

In addition, it is also specified that unix socket are supported.

This patch partially fixes the issue #2066. It should be backported to all
stable versions.
doc/configuration.txt