summaryrefslogtreecommitdiff
path: root/modules/caddytls/values.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-09-11 22:26:06 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-09-11 22:26:06 -0600
commit2cb01d43cf1647bc46e2c7a114c952925524ebe1 (patch)
treeb072e93862f56006adb356aa878665ab5d4bd4c6 /modules/caddytls/values.go
parent758269124ef5d6d83cb4e8d8eeb095f5b025250e (diff)
tls: Remove support for TLS 1.0 and TLS 1.1
Diffstat (limited to 'modules/caddytls/values.go')
-rw-r--r--modules/caddytls/values.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/caddytls/values.go b/modules/caddytls/values.go
index b10fe22..533794c 100644
--- a/modules/caddytls/values.go
+++ b/modules/caddytls/values.go
@@ -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,
}