哪些网络服务器支持 HTTP/2

Which web servers support HTTP/2

我已经安装了 SPDY Indicator chrome 扩展。它检测到一些站点启用了 SPDY,一些站点启用了 HTTP/2。

目前支持HTTP/2的网络服务器有哪些?我知道 nginx 支持 SPDY,但它支持 HTTP/2 吗?如果可以,我该如何启用它?

更新

感谢 GolezTrol。 答案是否定的。截至 2015 年 9 月是

支持

SPDY,但没有 HTTP/2

以下列表已过时,可能不值得维护。

https://github.com/http2/http2-spec/wiki/Implementations

有支持 HTTP/2 的完整网络服务器等列表

HTH

请在下方查找table

+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Name                                                         | Language       | Role(s)                      | Negotiation(s)             | Protocol id(s)                           |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| http4s-blaze                                                 | Scala          | server                       | ALPN                       | h2, h2-14                                |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| cl-http2-protocol                                            | Common Lisp    | client, server               | NPN, direct                | h2-14                                    |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Deuterium                                                    | C              | client, server               | ALPN, direct               | h2, h2-14, h2c, h2c-14                   |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| F5                                                           | C              | server, proxy                | ALPN, NPN                  | h2-14 (11.6.0 HF2) h2 (upcoming release) |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| H2O                                                          | C              | Server, proxy                | ALPN, NPN, Upgrade, direct | h2, h2-14, h2-16                         |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| http-2                                                       | Ruby           | server, client               | ALPN, NPN, Upgrade, direct | h2, h2c, h2-17                           |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| http2                                                        | Go             | client, server               | NPN (+ ALPN w/ Go 1.4)     |                                          |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Jetty                                                        | Java           | client, intermediary, server | ALPN, Upgrade, Direct      | h2, h2-17, h2-14, h2c, h2c-17            |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| LiteSpeed Enterprise                                         | C++            | Server                       | ALPN, NPN, Upgrade         | h2, h2-17, h2-14, h2c                    |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Lucid                                                        | Erlang         | Server                       | NPN, direct                | h2, h2-16, h2-14                         |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Microsoft                                                    | C/C++          | Client, Server               | ALPN                       | h2                                       |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| mod_h2                                                       | C              | Server                       | ALPN, NPN, Upgrade, direct | h2, h2c (plus -14,-16)                   |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Netty                                                        | Java           | client, server               | ALPN, NPN, Upgrade, direct | h2, h2c                                  |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| nghttp2                                                      | C              | client, server, intermediary | ALPN, NPN, Upgrade, direct | h2, h2-16, h2-14, h2c                    |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| node-http2                                                   | NodeJS         | server, client               | ALPN, NPN, direct          | h2                                       |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| OkHttp                                                       | Android, Java  | mock server, client          | ALPN, NPN                  | h2                                       |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| OpenLiteSpeed                                                | C++            | Server                       | ALPN, NPN, Upgrade         | h2, h2-17 , h2-14, h2c                   |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Protocol::HTTP2                                              | Perl           | server, client               | ALPN, NPN, Upgrade, direct | h2, h2c                                  |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Brocade SteelApp Traffic Manager (formerly Riverbed/Zeus TM) | C++            | Server                       | ALPN, NPN, Upgrade, direct | h2, h2c                                  |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Sasazka                                                      | NodeJS         | server                       | NPN                        |                                          |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| second-transfer                                              | Haskell        | server                       | ALPN                       | h2-14, h2                                |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Trusterd                                                     | C/mruby        | client, server               | ALPN, NPN, direct          |                                          |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Twitter                                                      | C++            | server, client               | ALPN, NPN                  | h2                                       |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Undertow                                                     | Java           | Server, Intermediary         | ALPN, Upgrade              |                                          |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| Warp                                                         | Haskell        | Server                       | ALPN, direct               |                                          |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+

产品链接,因为我不知道如何保持内部链接的 table 格式。

nginx released 1.9.5 mainline version last week. You have to compile nginx with --with-http_v2_module to enable HTTP/2 support. It does not support server push还没有。

我写了一个简单的 post 关于如何在 OS X 上为本地开发设置它 HTTP/2 以防其他人感兴趣:http://tech.finn.no/2015/09/25/setup-nginx-with-http2-for-local-development/