diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-24 13:18:45 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-24 13:18:45 -0600 |
commit | 210d0cf7f1040c1372a79869b8b279a92a52baf5 (patch) | |
tree | 584d37fc0eae87f6262c0ec73d9e59c6990fb4e0 /modules/caddytls/matchers.go | |
parent | 5a4a1421de9cc3a9d5aba9e48c195030cc24f576 (diff) |
Implement custom cert selection policies; optimize matching for SNI
Diffstat (limited to 'modules/caddytls/matchers.go')
-rw-r--r-- | modules/caddytls/matchers.go | 2 |
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{} }, }) } |