diff --git a/cmd/s3-gw/server.go b/cmd/s3-gw/server.go index f8a20d9..694e9ee 100644 --- a/cmd/s3-gw/server.go +++ b/cmd/s3-gw/server.go @@ -74,6 +74,7 @@ func newServer(ctx context.Context, serverInfo ServerInfo) (*server, error) { ln = tls.NewListener(ln, &tls.Config{ GetCertificate: tlsProvider.GetCertificate, + NextProtos: []string{"h2"}, // required to enable HTTP/2 requests in `http.Serve` }) }