diff --git a/lib/tlsutil/tlsutil.go b/lib/tlsutil/tlsutil.go index e1b9b7e86..cbdd05b3b 100644 --- a/lib/tlsutil/tlsutil.go +++ b/lib/tlsutil/tlsutil.go @@ -83,6 +83,8 @@ func SecureDefaultWithTLS12() *tls.Config { // We've put some thought into this choice and would like it to // matter. PreferServerCipherSuites: true, + // We support HTTP/2 and HTTP/1.1 + NextProtos: []string{"h2", "http/1.1"}, ClientSessionCache: tls.NewLRUClientSessionCache(0), }