Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--internal/config/tls/tls.go2
2 files changed, 1 insertions, 3 deletions
diff --git a/README.md b/README.md
index a1c942b9..0d6d2c52 100644
--- a/README.md
+++ b/README.md
@@ -272,7 +272,7 @@ assuming they know the URL beforehand.
GitLab Pages defaults to TLS 1.2 as the minimum supported TLS version. This can be
configured by using the `-tls-min-version` and `-tls-max-version` options. Accepted
-values are `tls1.0`, `tls1.1`, `tls1.2`, and `tls1.3` (if supported). When `tls1.3`
+values are `tls1.2`, and `tls1.3` (if supported). When `tls1.3`
is used GitLab Pages will add `tls13=1` to `GODEBUG` to enable TLS 1.3.
See https://golang.org/src/crypto/tls/tls.go for more.
diff --git a/internal/config/tls/tls.go b/internal/config/tls/tls.go
index 1e3a6333..69065acf 100644
--- a/internal/config/tls/tls.go
+++ b/internal/config/tls/tls.go
@@ -26,8 +26,6 @@ var (
// AllTLSVersions has all supported flag values
AllTLSVersions = map[string]uint16{
"": 0, // Default value in tls.Config
- "tls1.0": tls.VersionTLS10,
- "tls1.1": tls.VersionTLS11,
"tls1.2": tls.VersionTLS12,
"tls1.3": tls.VersionTLS13,
}