From: Willy Tarreau Date: Mon, 7 Jun 2010 12:35:41 +0000 (+0200) Subject: [DOC] document the "dispatch" keyword X-Git-Tag: v1.5-dev8~602 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ce9457d991c06af97a14a373416c8b4f344aec5;p=thirdparty%2Fhaproxy.git [DOC] document the "dispatch" keyword This one was not documented ! --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 490e7305b4..240a548980 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1761,6 +1761,29 @@ disabled See also : "enabled" +dispatch
: + Set a default server address + May be used in sections : defaults | frontend | listen | backend + no | no | yes | yes + Arguments : none + +
is the IPv4 address of the default server. Alternatively, a + resolvable hostname is supported, but this name will be resolved + during start-up. + + is a mandatory port specification. All connections will be sent + to this port, and it is not permitted to use port offsets as is + possible with normal servers. + + The "disabled" keyword designates a default server for use when no other + server can take the connection. In the past it was used to forward non + persistent connections to an auxiliary load balancer. Due to its simple + syntax, it has also been used for simple TCP relays. It is recommended not to + use it for more clarity, and to use the "server" directive instead. + + See also : "server" + + enabled Enable a proxy, frontend or backend. May be used in sections : defaults | frontend | listen | backend