DOC: refer to check-sni in the documentation of sni

Make it obvious in the description of the sni directive that it can
not be used for health checks, and refer to the appropriate directive.

This can be backported to 1.8 as check-sni appeared in 1.8.
This commit is contained in:
Jrme Magnin 2018-12-09 16:03:40 +01:00 committed by Willy Tarreau
parent ae9bb76001
commit b36a6d21db

View File

@ -12166,7 +12166,8 @@ sni <expression>
expression, though alternatives such as req.hdr(host) can also make sense. If
"verify required" is set (which is the recommended setting), the resulting
name will also be matched against the server certificate's names. See the
"verify" directive for more details.
"verify" directive for more details. If you want to set a SNI for health
checks, see the "check-sni" directive for more details.
source <addr>[:<pl>[-<ph>]] [usesrc { <addr2>[:<port2>] | client | clientip } ]
source <addr>[:<port>] [usesrc { <addr2>[:<port2>] | hdr_ip(<hdr>[,<occ>]) } ]