如何在Windows Server 2016的IIS上禁用HTTP / 2 [英] How to disable HTTP/2 on IIS of Windows Server 2016

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

问题描述

我们遇到了一些似乎受到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.

如何在Windows 10的IIS上禁用HTTP / 2

推荐答案

1)开始 - > regedit

1) start -> regedit

2)导航到文件夹/路径:HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \\ \\ Services \HTTP \Parameters

2) Navigate to the folder/path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters

3)在Parameters文件夹下,右键单击空格,添加2个新的DWORD(32位)值:
EnableHttp2Tls和EnableHttp2Cleartext

3) Under the Parameters folder, right-click the white-space, add 2 new DWORD (32-bit) values: EnableHttp2Tls and EnableHttp2Cleartext

4)通过右键单击该值并单击修改...,确保两个新值都已设置为0(禁用)。

4) Ensure both new values have been set to 0 (disabled) by right-clicking the value and clicking modify...

5)重新启动操作系统

5) Restart the OS

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

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