web-dev-qa-db-ja.com

HTTP / 2をサポートするWebサーバー

SPDYインジケーターchrome拡張機能をインストールしました。SPDYが有効になっているサイトとHTTP/2が有効になっているサイトを検出しています。

現在HTTP/2をサポートしているWebサーバーはどれですか? nginxがSPDYをサポートしていることを知っていますが、HTTP/2をサポートしていますか?その場合、どうすれば有効にできますか?

更新

GolezTrolに感謝します。 答えはいいえだ。2015年9月現在

支えられる

  • IISはWindows 10でHTTP/2をサポートしています[50]
  • OpenLiteSpeed 1.3.7および1.4.4はHTTP/2ドラフト16. [51]をサポートします

SPDY、ただしHTTP/2なし

次のリストは古く、おそらく維持する価値はありません。

  • Nginxはモジュールを介してSPDY(ドラフト3.1)の実験的サポートを提供します[52]
  • Apacheは現在の2.4.xバージョンではSPDYをサポートしていませんが、mod_spdyを使用すると追加できます[53]。
  • LiteSpeed Webサーバーは現在SPDY/3.1 [54]をサポートしています
13
Joyce Babu

https://github.com/http2/http2-spec/wiki/Implementations には、HTTP/2をサポートするWebサーバーなどの完全なリストがあります。

HTH

22
p4guru

下の表をご覧ください

+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+
| 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               |                                          |
+--------------------------------------------------------------+----------------+------------------------------+----------------------------+------------------------------------------+

内部にリンクがあるテーブル形式を維持する方法がわからないため、製品へのリンク。

6

nginxリリース1.9.5メインラインバージョン 先週。 HTTP/2サポートを有効にするには、--with-http_v2_moduleを使用してnginxをコンパイルする必要があります。 server Push はまだサポートされていません。

他の人が興味がある場合に備えて、HTTP/2を使用したOS Xでのローカル開発用に設定する方法に関する簡単な投稿を書きました: http://tech.finn.no/2015/09/25/ setup-nginx-with-http2-for-local-development /

1
gregers