且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在IIS 10上禁用HTTP / 2

更新时间:2023-12-05 15:05:22

禁用HTTP / 2 Windows 10 HTTP.SYS,在HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services $ \\ HTTP \Parameters

To disable HTTP/2 on Windows 10 HTTP.SYS, set the following registry value on the Windows 10 desktop in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters

EnableHttp2Tls REG_DWORD 0

EnableHttp2Tls REG_DWORD 0

EnableHttp2Cleartext REG_DWORD 0

EnableHttp2Cleartext REG_DWORD 0

仅当失败是HTTP时才需要第二个。第一个是HTTPS。

The second of these is only necessary if the failure is with HTTP. The first is for HTTPS.