Linux 的 Azure 应用服务是否支持 http2?
Does Azure App Service for Linux support http2?
SSL 配置在 Azure 应用服务上游处理。
因此 运行将应用服务作为 Docker 容器并为服务器配置 Nginx { listen 443 ssl h2; } 不是必需的,实际上不会呈现网页。
当在服务上设置了带客户域的 SSL 时,如何将 Linux 的 Azure 应用服务配置修改为 运行 作为 http2 协议?
谢谢,
根据我的经验,我认为您不需要进行任何特殊设置来支持 Linux 的 Azure WebApps 上的 HTTP2。 Linux 的 Azure WebApps 是一个 Docker 容器实例,HTTP2 协议通常作为编程语言的库实现或直接由 HTTP 服务器支持。根据 nginx 官方网站的implementations listed at http2 offical site, you just need to install the Nginx version 1.9.5+
which can support HTTP2 protocol. If you want to use, only enable it. Please refer to the blog。
希望对您有所帮助。
此功能现在适用于 Linux 和 Windows,并且位于 Azure Web 应用服务门户的同一部分。
- 转到您的 Web 应用服务
- 转到设置
- 转到配置
- Select 常规设置选项卡
- 在平台设置下,从 Http 版本下拉列表中选择“2.0”。
- 详情见图片。
SSL 配置在 Azure 应用服务上游处理。
因此 运行将应用服务作为 Docker 容器并为服务器配置 Nginx { listen 443 ssl h2; } 不是必需的,实际上不会呈现网页。
当在服务上设置了带客户域的 SSL 时,如何将 Linux 的 Azure 应用服务配置修改为 运行 作为 http2 协议?
谢谢,
根据我的经验,我认为您不需要进行任何特殊设置来支持 Linux 的 Azure WebApps 上的 HTTP2。 Linux 的 Azure WebApps 是一个 Docker 容器实例,HTTP2 协议通常作为编程语言的库实现或直接由 HTTP 服务器支持。根据 nginx 官方网站的implementations listed at http2 offical site, you just need to install the Nginx version 1.9.5+
which can support HTTP2 protocol. If you want to use, only enable it. Please refer to the blog。
希望对您有所帮助。
此功能现在适用于 Linux 和 Windows,并且位于 Azure Web 应用服务门户的同一部分。
- 转到您的 Web 应用服务
- 转到设置
- 转到配置
- Select 常规设置选项卡
- 在平台设置下,从 Http 版本下拉列表中选择“2.0”。
- 详情见图片。