在Azure上启用HTTP / 2

问题描述 投票:0回答:1

我的Azure托管网站具有以下配置(参见图像)。

enter image description here

所以我相信我已经启用了HTTP / 2。

但是,当我从Edge / Chrome访问它时,在“开发”选项中选择“报告”。我得到(参见图片):

enter image description here

IGNORE“本地主机”位。我从本地副本中截取了屏幕截图,但是在网站的Azure版本上运行报表时,却得到了相同的信息。

为什么说http / 1.1?

azure http2
1个回答
0
投票

仔细检查资源浏览器中的http2enabled是否设置为true。转到:

订阅>资源组>您的站点名称>提供程序> Microsoft.Web>站点>您的站点名称>配置>网站

enter image description here

enter image description here

然后选择PUT

enter image description here

来源:https://azure.microsoft.com/en-us/blog/announcing-http-2-support-in-azure-app-service/

© www.soinside.com 2019 - 2024. All rights reserved.