File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,9 @@ log_selector = +tls_sni
3838
3939tls_advertise_hosts = *
4040
41- # here we test that $tls_in_sni really is a domain, but constructing an arbitrary email address foo@...
42- # and then extracting the domain with a function that should fails if the email address is not valid
43- # then we looks to see that the cert exists, and use it
44- # otherwise we use the default cert in /etc/ssl
41+ # We test that $tls_in_sni is a valid domain, by an arbitrary email address foo@domain.tld .
42+ # Then, we extract the domain with a function that would fail if the email address is invalid.
43+ # If the certificate exists, we will use it, otherwise the default certificate in /etc/ssl will be used.
4544tls_certificate = \
4645 ${if and {\
4746 { eq {${domain:foo@$tls_in_sni}} {$tls_in_sni}}\
You can’t perform that action at this time.
0 commit comments