How do I configure SPDY in Ubuntu 12.04 / apache 2.2.22 ?

Posted September 11, 2015 8.2k views
ApacheServer OptimizationLAMP StackNetworkingDNSConfiguration Management

Hi, I’m trying to configure SPDY in my droplet (Apache, Ubuntu 12.04)
I’m following google’s documentation, and I did exactly all steps detailed:

“ht2check” website says it’s activated. Here’s the link for that:

However, this chrome extension says “NOT SPDY enabled”

I tried hundreds of changes on config files. Different urls, and certificates.

Any ideas of what’s going on ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Installing mod_spdy on Ubuntu 12.04 with Apache should be as simple as running the following commands if you already have SSL setup correctly.

  • wget
  • sudo dpkg -i mod-spdy-beta_current_amd64.deb
  • sudo a2enmod spdy
  • sudo service apache2 restart

Though, it appears that Google Chrome is no longer compatible with the version of mod_spdy that is available for download. It only supports the SPDY/3.1 protocol while the package provides SPDY/3. It’s also worth noting that Google is no longer developing mod-spdy and will soon be dropping support in Chrome altogether in favor of HTTP/2. See:

So you might want to consider using HTTP/2 instead.

by Sergey Zhukaev
NGINX is a fast and reliable open-source web server. It gained its popularity due to its low memory footprint, high scalability, ease of configuration, and support for the vast majority of different protocols. The main advantage of HTTP/2 is its high transfer speed for content-rich websites. This tutorial will help you set up fast and secure Nginx server with HTTP/2 support.