Skip to content

Commit 8c0b805

Browse files
authored
Merge pull request #409 from lmunro-at-shopify/fix_http2_support
Add back http2 support 🐛
2 parents 856708d + 591e2ba commit 8c0b805

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/webhook/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ func (s *Server) Start(stop <-chan struct{}) error {
140140

141141
cfg := &tls.Config{
142142
Certificates: []tls.Certificate{cert},
143+
NextProtos: []string{"h2"},
143144
}
144145

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

0 commit comments

Comments
 (0)