如何在IIS 10上禁用HTTP / 2 [英] How to disable HTTP/2 on IIS 10

查看:1428
本文介绍了如何在IIS 10上禁用HTTP / 2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IIS 10声称完全支持HTTP / 2。我想知道是否有办法在IIS 10上关闭HTTP / 2.

IIS 10 claims to fully support HTTP/2. I'm wondering if there is a way to turn off HTTP/2 on IIS 10.

推荐答案

禁用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.

这篇关于如何在IIS 10上禁用HTTP / 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆