summaryrefslogtreecommitdiff
path: root/modules/caddytls/matchers.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddytls/matchers.go')
-rw-r--r--modules/caddytls/matchers.go2
1 files changed, 1 insertions, 1 deletions
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{} },
})
}