Forum Moderators: phranque

Message Too Old, No Replies

http/2 - what is the best option?

Apache2 on Ubuntu 14.04

         

NickMNS

4:13 pm on Apr 15, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm looking into upgrading Apache to serve pages using HTTP/2 protocol. I'm currently running Ubuntu 14.04 with Apache 2.4.7. I have determined that I have the three options:

Option 1:
Upgrade Apache to the latest version and the use an unsupported package:
sudo add-apt-repository ppa:ondrej/apache2

This appears to be widely accepted and recommended option. But it requires a lot work and the risk of messing things up.

Option 2:
Install Ngin-X and use it as reverse proxy for Apache. This requires installing Ngin-X and adds another layer of complexity.

Option 3:
Use Cloudflare

Any thoughts as to what the best option is.

robzilla

5:55 pm on Apr 15, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You've listed them in the order of my preference.

The Apache upgrade using the ondrej repo seems pretty straightforward. I'd probably go with that if I had your set-up.

Certainly don't use Cloudflare just to get http/2.

NickMNS

12:19 am on Apr 16, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



@robzilla, I don't like your answer (mostly due to laziness), but I tend to agree with you.

What is the impact of upgrading Apache version. Is it worth cloning my VPS making the changes and then switching over? Or is possible to do it on the fly?

robzilla

7:40 am on Apr 16, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'd make sure to have a backup of the httpd config files, and then upgrade like you normally would (but now using the ondrej repo). From what I've seen, the upgrade should be a seamless experience, no different than an upgrade from official repositories.