From: Aurelien DARRAGON Date: Tue, 17 Dec 2024 10:54:06 +0000 (+0100) Subject: DOC: config: add example for server "track" keyword X-Git-Tag: v3.2-dev2~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=48545113f4db86ad43a99ba01742a9811410e6dc;p=thirdparty%2Fhaproxy.git DOC: config: add example for server "track" keyword As requested on GH #2325, "track" server keyword could benefit from a simple config example to show how to make use of it. That's what we're doing in this commit, thanks to GH user @HAkmiller for the suggestion. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index b79b028c99..bfe744f87b 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -18997,6 +18997,15 @@ track [/] enabled. If is omitted the current one is used. If disable-on-404 is used, it has to be enabled on both proxies. + Example : + + backend A + server a1 1.1.1.1:80 track B/b1 + server a2 1.1.1.2:80 track B/b1 + + backend B + server b1 2.2.2.2:80 check + tls-tickets May be used in the following contexts: tcp, http, log, peers, ring