Skip to content

Commit

Permalink
Merge pull request #409 from lmunro-at-shopify/fix_http2_support
Browse files Browse the repository at this point in the history
Add back http2 support 🐛
  • Loading branch information
k8s-ci-robot committed May 2, 2019
2 parents 856708d + 591e2ba commit 8c0b805
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/webhook/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func (s *Server) Start(stop <-chan struct{}) error {

cfg := &tls.Config{
Certificates: []tls.Certificate{cert},
NextProtos: []string{"h2"},
}

listener, err := tls.Listen("tcp", net.JoinHostPort(s.Host, strconv.Itoa(int(s.Port))), cfg)
Expand Down

0 comments on commit 8c0b805

Please sign in to comment.