@marcel91200 / caddy Mirror · read-only / commits / 2cb01d43
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 14, 05:15 UTC

tls: Remove support for TLS 1.0 and TLS 1.1

Matthew Holt committed Sep 11, 2019 at 22:26 UTC 2cb01d43cf1647bc46e2c7a114c952925524ebe1
1 file changed -3
modules/caddytls/values.go
-3
@@ -122,10 +122,7 @@ var defaultCurves = []tls.CurveID{
122 }
123
124 // SupportedProtocols is a map of supported protocols.
125 -// Note that HTTP/2 only supports TLS 1.2 and higher.
125 var SupportedProtocols = map[string]uint16{
127 - "tls1.0": tls.VersionTLS10,
128 - "tls1.1": tls.VersionTLS11,
126 "tls1.2": tls.VersionTLS12,
127 "tls1.3": tls.VersionTLS13,
128 }