Skip to content
Snippets Groups Projects
Commit dc30bec9 authored by Jan Garaj's avatar Jan Garaj
Browse files

Enable HTTP/2 protocol

parent e9aeed12
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment