如何在 Windows Server 2016 的 IIS 上禁用 HTTP/2 [英] How to disable HTTP/2 on IIS of Windows Server 2016
问题描述
我们遇到了一些似乎受 http2 影响的问题,我想暂时关闭它以进行故障排除.我尝试了此问题中概述的注册表项,但这对 Windows Server 2016 没有帮助.
We are running into some issues that seem to be affected by http2 and I want to turn it off temporarily to troubleshoot. I tried the registry keys outlined in this question but that did not help with Windows Server 2016.
推荐答案
开始 →
regedit
导航到文件夹/路径:HKEY_LOCAL_MACHINESystemCurrentControlSetServicesHTTPParameters
在 Parameters 文件夹下,右键单击空格,添加 2 个新的 DWORD(32 位)值:
Under the Parameters folder, right-click the white-space, add 2 new DWORD (32-bit) values:
启用Http2Tls
EnableHttp2Cleartext
通过右键单击值并单击修改..."来确保两个新值都已设置为 0
(已禁用)
Ensure both new values have been set to 0
(disabled) by right-clicking the value and clicking "Modify..."
重启操作系统.
这篇关于如何在 Windows Server 2016 的 IIS 上禁用 HTTP/2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!