mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Add http/2 support to API server (#5149)
fix issue #5148 Signed-off-by: Kamil Madac <kamil.madac@gmail.com>
This commit is contained in:
parent
3531df3f31
commit
333248466b
@ -53,6 +53,7 @@ func (c *Cluster) newListener(ctx context.Context) (net.Listener, http.Handler,
|
||||
ClientAuth: tls.RequestClientCert,
|
||||
MinVersion: c.config.TLSMinVersion,
|
||||
CipherSuites: c.config.TLSCipherSuites,
|
||||
NextProtos: []string{"h2", "http/1.1"},
|
||||
},
|
||||
RegenerateCerts: func() bool {
|
||||
const regenerateDynamicListenerFile = "dynamic-cert-regenerate"
|
||||
|
Loading…
Reference in New Issue
Block a user