Welcome to WebmasterWorld Guest from 54.221.75.68

Forum Moderators: Ocean10000 & phranque

http/2 - what is the best option?

Apache2 on Ubuntu 14.04

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

Senior Member

WebmasterWorld Senior Member Top Contributors Of The Month

joined:Apr 1, 2016
posts:2233
votes: 589


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.
5:55 pm on Apr 15, 2018 (gmt 0)

Senior Member

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

joined:Sept 25, 2005
posts:1984
votes: 331


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.
12:19 am on Apr 16, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member Top Contributors Of The Month

joined:Apr 1, 2016
posts:2233
votes: 589


@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?
7:40 am on Apr 16, 2018 (gmt 0)

Senior Member

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

joined:Sept 25, 2005
posts:1984
votes: 331


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members