Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable HTTP/2 on IIS 10

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

like image 721
Fiona Avatar asked Jul 28 '15 05:07

Fiona


People also ask

How do I enable http2 on IIS 10?

Launch your browser from your Windows 10 or Windows Server 2016 machine and hit F12, (or go to Settings and enable F12 Developer Tools), and then switch to the Network tab. Browse to https://localhost and voila, you are on HTTP/2!

Is http 2 enabled by default?

Note: HTTP/2 is enabled by default at Kinsta for all sites running over HTTPS.

How can I tell if http 2 is enabled?

Google Chrome offers a quick and easy way to check if HTTP/2 is supported on your SSL-enabled site. First, visit your site in Chrome over HTTPS. There you'll see your site listed with protocol h2, confirming your site works over HTTP/2.


1 Answers

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

EnableHttp2Cleartext REG_DWORD 0

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

like image 165
Fiona Avatar answered Oct 10 '22 10:10

Fiona