简体   繁体   English

如何在Windows 10 Server技术预览中启用http2

[英]How to enable http2 in Windows 10 Server Technical preview

I've just downloaded and installed the VHD of "Windows 10 Server Technical Preview 2 Build 10074" 我刚刚下载并安装了“Windows 10 Server Technical Preview 2 Build 10074”的VHD

I've followed the instructions: http://blogs.iis.net/nazim/http-2-for-iis-in-windows-10-technical-preview 我按照说明操作: http//blogs.iis.net/nazim/http-2-for-iis-in-windows-10-technical-preview

..to create a selfsigned certificate, and I'm browsing localhost via IE11 and I don't get any http2 indication in F12 developer tools, like the link implies. ..创建一个自签名证书,我正在通过IE11浏览localhost,我在F12开发人员工具中没有得到任何http2指示,如链接所示。 Browsing using another machine and chrome with the http2/spdy extension also doesn't indicate http2 traffic. 使用另一台机器和带有http2 / spdy 扩展名的 chrome进行浏览也不表示http2流量。

Am I missing a configuration step? 我错过了配置步骤吗?

在此输入图像描述

I was using Windows Server 2016 TP2 to test the same thing and after enabling http/2 in the registry the local IE11 browser does not show any indication of http/2. 我使用Windows Server 2016 TP2测试相同的东西,在注册表中启用http / 2后,本地IE11浏览器没有显示http / 2的任何指示。 The last screenshot of the article you mentioned shows http2 , so we assume it doesn't work. 您提到文章的最后一个屏幕截图显示了http2 ,因此我们假设它不起作用。

Looking at the network tools in Chrome on a workstation also doesn't indicate http/2. 在工作站上查看Chrome中的网络工具也不表示http / 2。

However when using Chrome 43 and typing: 但是,在使用Chrome 43并输入时:

chrome://net-internals/#spdy 铬://网内部/#SPDY

and then opening the test site in another tab, it will show up in the HTTP/2 sessions list with a Protocol Negotiated: h2 然后在另一个选项卡中打开测试站点,它将显示在HTTP/2 sessions列表中,并带有Protocol Negotiated: h2Protocol Negotiated: h2

So my assumption here is, that IIS works fine serving http/2 but IE doesn't tell us about it. 所以我的假设是,IIS可以很好地服务于http / 2,但IE并没有告诉我们。

Which begs the question: Why does is show in the screenshot in the blog post? 这引出了一个问题: Why does is show in the screenshot in the blog post?

I can't answer that, but I'm satisfied with what I see in Chrome. 我无法回答这个问题,但我对Chrome中看到的内容感到满意。

Edit 17-July-2015: 编辑2015年7月17日:

While doing some more tests for my blog post New features in IIS 10 I looked into this again and I now don't think you have to do anything in IIS 10 to enable HTTP/2. 在为我的博客做一些更多的测试时发布了IIS 10中的新功能,我再次调查了这一点,现在我认为你不必在IIS 10中做任何事情来启用HTTP / 2。 It seems to be enabled by default. 它似乎默认启用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 启用和禁用TLS和SSL在IE中,在Z0F4137ED1502B5045D6045D6083AA258B58B5C42Z中使用本地机器(不是Z0F4137ED152B502B502602605DDEMEA) - Enable and Disable TLS and SSL in IE on windows 10 local machine(not windows server) using powershell 如何在Windows Server 2008的IE8中启用ActiveX? - How can I enable ActiveX in IE8 on Windows Server 2008? Windows Server 2016,IE 10中的Windows 10中未加载字体 - Fonts are not loading in Windows Server 2016, Windows 10 in IE 如何为我的网站启用默认兼容模式ie10 - How to enable default compatibility mode for my site ie10 如何在Internet Explorer 10中启用CSS3过渡? - How to enable CSS3 transitions in internet explorer 10? 如何在 IE10 的 Web 浏览器控件中启用拼写检查器 - How to enable spell checker in web browser control for IE10 如何在 Windows 10 上禁用 Internet Explorer Hsts - How to Disable Internet Explorer Hsts on Windows 10 单击图标时,如何在Internet Explorer for Windows 7中停止网页的预览? - How do I stop the preview of webpages in internet explorer for windows 7 when clicking on icon? 如何强制Windows Phone 10不使用Internet Explorer 10? - How can I force Windows Phone 10 not to use Internet Explorer 10? 是否可以在Windows 8.1上将Internet Explorer 11降级为10? 怎么样? - is it possible to downgrade internet explorer 11 to 10 on windows 8.1 ? How?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM