mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 07:43:17 +00:00
Implement custom cert selection policies; optimize matching for SNI
This commit is contained in:
parent
5a4a1421de
commit
210d0cf7f1
3 changed files with 109 additions and 20 deletions
|
@ -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{} },
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue