diff --git a/connect/comms.go b/connect/comms.go index a2a783ba7595555580777ace80b3528314b8e5ac..32eff14faad4d3c4d00b3be86c188192da1a6258 100644 --- a/connect/comms.go +++ b/connect/comms.go @@ -241,7 +241,7 @@ func (c *ProtoComms) ServeWithWeb() { } else { // Configure tls for this listener, using the config from http.ServeTLS tlsConf := &tls.Config{} - tlsConf.NextProtos = append(tlsConf.NextProtos, "http/1.1") + tlsConf.NextProtos = append(tlsConf.NextProtos, "h2", "http/1.1") tlsConf.Certificates = make([]tls.Certificate, 1) // Our internal certificates may not pass standard verification tlsConf.InsecureSkipVerify = true