Skip to content

Commit

Permalink
Merge pull request louketo#411 from jangaraj/http2
Browse files Browse the repository at this point in the history
Enable HTTP/2 protocol
  • Loading branch information
gambol99 authored Sep 17, 2018
2 parents fa53727 + dc30bec commit e3b068b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ func (r *oauthProxy) createHTTPListener(config listenerConfig) (net.Listener, er
tlsConfig := &tls.Config{
GetCertificate: getCertificate,
PreferServerCipherSuites: true,
NextProtos: []string{"h2", "http/1.1"},
}

listener = tls.NewListener(listener, tlsConfig)
Expand Down

0 comments on commit e3b068b

Please sign in to comment.