Enabling HTTP/2 for Drupal on Apache2 and PHP

Qualys SSL test screenshot showing HSTS and A+ grade

This website has been running SSL with HSTS for a year at this point; with the release of HTTP/2, I decided to enable that technology as well. Most details for completing that process are here:

https://www.designedbyaturtle.co.uk/2015/enabling-http2-support-on-apach…

Adding the keys for the ondrej PPA required that the server locale be set (I hadn’t bothered before). I used the details on this page to set it to UTF-8:

https://askubuntu.com/questions/298971/full-switch-locale-ubuntu-server-…

I enabled HTTP/2 for this website by editing the vhosts file in /etc/apache2/sites-available/ rather than messing with /etc/apache2/apache2.conf.

So far, performance is perceptibly improved in some ways, particularly for the gallery pages. I very much doubt that there are many other photography portfolio websites that also support HTTP/2 and HSTS at this time…

Firefox Web Developer tools network inspector window showing HTTP/2

Information on enabling HTTP Strict Transport Security (HSTS) is here: https://https.cio.gov/hsts/