Anton Lindstrom (about, @twitter, @github)

SPDY on Nginx development release

Published:

Just had to test SPDY on the development version of Nginx as it is now supported by Automattic. This is how I did to get it running.

Download the latest development version (currently 1.3.2) and apply the patch from spdy patches page by using patch -p1 < spdy.patch.

Install

Configure and compile as usual (with SSL support):

./configure --with-http_ssl_module
make && make install

Create a self signed (or a real) certificate and add in /usr/local/conf and add the following settings to get it running:

listen 443 ssl spdy default;

ssl_certificate      /usr/local/nginx/conf/cert.pem;
ssl_certificate_key  /usr/local/nginx/conf/cert.key;

Run

Start it up (sbin/nginx) and go to the site, everything should now work as expected.

Sources for checking SPDY status in Chrome: