Deprecate support for TLS 1.0 and TLS 1.1
Problem
Support for TLS 1.0 and TLS 1.1 has been deprecated and removed for GitLab for security reasons (blog post). We should do the same for the registry, which currently supports 1.0, 1.1, 1.2, and 1.3 and defaults to 1.0.
Related to https://gitlab.com/gitlab-com/gl-security/security-department-meta/-/issues/202 and https://gitlab.com/gitlab-org/gitlab/-/issues/281672.
Solution
Deprecate support for TLS 1.0 and TLS 1.1, showing a warning log message when these are used. Support for these should be later removed and TLS 1.2 should become the default.