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.
This commit is contained in:
Aurelien DARRAGON 2024-12-17 11:54:06 +01:00
parent acb2c9eb8b
commit 48545113f4

View File

@ -18997,6 +18997,15 @@ track [<backend>/]<server>
enabled. If <backend> 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