AWS ELB/ALB http/2 通过 http/2 传递到 EC2 实例(不是 http/1.1)

AWS ELB/ALB http/2 pass thru to EC2 instance via http/2 (not http/1.1)

AWS ELB/ALB 现在支持 HTTP/2。

根据文档 (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html):

Application Load Balancers provide native support for HTTP/2 with HTTPS listeners. You can send up to 128 requests in parallel using one HTTP/2 connection. The load balancer converts these to individual HTTP/1.1 requests and distributes them across the healthy targets in the target group.

我的目标是支持 HTTP/2 的 EC2 实例 运行 Apache。是否可以让 ALB 通过 HTTP/2 连接到目标(EC2 实例)并避免让 ALB <--> ec2 连接通过 HTTP/1.1?

我没有在控制台或文档中看到任何执行此操作的方法。

不,这不可能。

ALB 始终将请求转换为 HTTP/1.1,这不是可配置的选项。