From 210d0cf7f1040c1372a79869b8b279a92a52baf5 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 24 May 2019 13:18:45 -0600 Subject: Implement custom cert selection policies; optimize matching for SNI --- modules/caddytls/matchers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/caddytls/matchers.go') diff --git a/modules/caddytls/matchers.go b/modules/caddytls/matchers.go index e155efd..a951f91 100644 --- a/modules/caddytls/matchers.go +++ b/modules/caddytls/matchers.go @@ -11,7 +11,7 @@ type MatchServerName []string func init() { caddy2.RegisterModule(caddy2.Module{ - Name: "tls.handshake_match.host", + Name: "tls.handshake_match.sni", New: func() interface{} { return MatchServerName{} }, }) } -- cgit v1.2.3