mirror of https://github.com/caddyserver/caddy.git
tls: Remove support for TLS 1.0 and TLS 1.1
This commit is contained in:
parent
758269124e
commit
2cb01d43cf
|
@ -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 New Issue