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

查看:30
本文介绍了如何在 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.

推荐答案

要在 Windows 10 HTTP.SYS 上禁用 HTTP/2,请在 Windows 10 桌面上的 HKEY_LOCAL_MACHINESystemCurrentControlSetServicesHTTP 中设置以下注册表值参数

To disable HTTP/2 on Windows 10 HTTP.SYS, set the following registry value on the Windows 10 desktop in HKEY_LOCAL_MACHINESystemCurrentControlSetServicesHTTPParameters

启用Http2Tls REG_DWORD 0

EnableHttp2Tls REG_DWORD 0

启用Http2Cleartext 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天全站免登陆