Setup a http/2.0 web server via nginx

nginx now supports http/2.0
My blog is now http2.0 enabled!

nginx supports http/2.0 since version 1.9.5, if you have your own ssl cert for your own domain, you can now easily setup a http/2.0 enabled web server via nginx!

I’ll use Ubuntu 14.04 LTS as an example here, and assume you already have a https enabled site via old versions of nginx.

Add nginx mainline repository from

Add PGP key for apt:

Update apt repository local cache:

Remove old nginx(remember to backup your configs!):


Convert your Ubuntu/Debian between different versions, like Desktop to Server

There is a very useful tool under Debian/Ubuntu GNU/Linux called tasksel, which can help us “convert" our Debian/Ubuntu between versions.

Install via apt-get/aptitude:

and run:

It’ll show you a menu like this:


nginx now supports http/2.0

From this commit: 257b51c37c5a: The HTTP/2 implementation

The HTTP/2 implementation (RFC 7240, 7241). The SPDY support is removed, as it’s incompatible with the new module.

nginx http/2.0 support has been implemented since 12 days ago, and the SPDY support was removed, the new version came after, nginx v1.9.5 was tagged since 39 hours ago, we can now download it from its download page, and there are also linux pre-built packages:

For more info about http 2.0, see the links below:

node.js v4.0.0 released, merged with io.js

node.js 4.0 released few days ago:

node.js now migrated/merged with io.js and has new engine, features and may also have performance increase, see:

I just did a very very simple test use npm test on cdnjs/cdnjs