[英]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: h2
的Protocol 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.