mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05:00
tls: Remove support for TLS 1.0 and TLS 1.1
This commit is contained in:
parent
758269124e
commit
2cb01d43cf
1 changed files with 0 additions and 3 deletions
|
@ -122,10 +122,7 @@ var defaultCurves = []tls.CurveID{
|
|||
}
|
||||
|
||||
// SupportedProtocols is a map of supported protocols.
|
||||
// Note that HTTP/2 only supports TLS 1.2 and higher.
|
||||
var SupportedProtocols = map[string]uint16{
|
||||
"tls1.0": tls.VersionTLS10,
|
||||
"tls1.1": tls.VersionTLS11,
|
||||
"tls1.2": tls.VersionTLS12,
|
||||
"tls1.3": tls.VersionTLS13,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue