How to check if HTTP2 is working on your server

You have installed the latest nginx version on your server to be able to offer HTTP2 to your visitors, but you have no idea how to check if HTTP2 is working?

There are two ways to check if your HTTP2 configuration is working.

Firefox browser plugin

Install this plugin for Firefox or this plugin for Chrome and your browser will automatically show if the site you visited runs with HTTP2 or the deprecated SPDY.

Bildschirmfoto 2016-04-22 um 08.03.52  Bildschirmfoto 2016-04-22 um 08.03.32

The blue bolt means that your site is using HTTP2. If the bolt is green, the site is using the deprecated SPDY protocol.

Server logs

Another way is to check the server logs. If you visit your site with one of the latest browser versions, you should see something like this:

As you can see, the command executed is “GET / HTTP/2.0”, so this request was a HTTP2 request.

Leave a Reply

Your email address will not be published. Required fields are marked *