Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-4.15] OCPBUGS-31604: disable http2 for ignition server and proxy #3825

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -748,11 +748,11 @@ defaults
timeout server 30s

frontend ignition-server
bind :::8443 v4v6 ssl crt /tmp/tls.pem
bind :::8443 v4v6 ssl crt /tmp/tls.pem alpn http/1.1
default_backend ignition_servers

backend ignition_servers
server ignition-server ignition-server:443 check ssl ca-file /etc/ssl/root-ca/ca.crt
server ignition-server ignition-server:443 check ssl ca-file /etc/ssl/root-ca/ca.crt alpn http/1.1
EOF
haproxy -f /tmp/haproxy.conf
`
Expand Down
1 change: 1 addition & 0 deletions ignition-server/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ func run(ctx context.Context, opts Options) error {
tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,
},
},
TLSNextProto: make(map[string]func(*http.Server, *tls.Conn, http.Handler)),
}

go func() {
Expand Down