We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 332f586 + ea818ef commit a28a263Copy full SHA for a28a263
pkg/server/server.go
@@ -133,6 +133,7 @@ func New(cfg config.Config, stopCh <-chan struct{}) *Server {
133
listener, err := tls.Listen("tcp", c.ListenAddr(), &tls.Config{
134
MinVersion: tls.VersionTLS12,
135
Certificates: []tls.Certificate{*cert},
136
+ NextProtos: []string{"h2", "http/1.1"},
137
})
138
if err != nil {
139
logrus.WithError(err).Fatal("could not open TLS listener")
0 commit comments