From b36a6d21db63dcdaf479939a5ff862cf71795175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Magnin?= Date: Sun, 9 Dec 2018 16:03:40 +0100 Subject: [PATCH] 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. --- doc/configuration.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index e6e548108..18fcf9604 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -12166,7 +12166,8 @@ sni 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 [:[-]] [usesrc { [:] | client | clientip } ] source [:] [usesrc { [:] | hdr_ip([,]) } ]