File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -44,16 +44,7 @@ func NewHttpsServer(conf *conf.Conf, registry *prometheus.Registry) *http.Server
4444 return & http.Server {
4545 Handler : hsts ,
4646 TLSConfig : & tls.Config {
47- // Suggested by https://ssl-config.mozilla.org/#server=go&version=1.21.5&config=intermediate
48- MinVersion : tls .VersionTLS12 ,
49- CipherSuites : []uint16 {
50- tls .TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 ,
51- tls .TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 ,
52- tls .TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 ,
53- tls .TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 ,
54- tls .TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 ,
55- tls .TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 ,
56- },
47+ MinVersion : tls .VersionTLS13 ,
5748 GetCertificate : func (info * tls.ClientHelloInfo ) (* tls.Certificate , error ) {
5849 // error out on invalid domains
5950 if ! conf .Domains .IsValid (info .ServerName ) {
You can’t perform that action at this time.
0 commit comments