I've been waiting and waiting for the new release of Ubuntu so I could finally get a more up to date version of apache for http2. FINALLY upgraded (after stupid issues with the updater) and I don't see the http2 module anywhere. How do I enable http2? Please don't tell me it was it was left out because it's "experimental".
Asked
Active
Viewed 2,515 times
1 Answers
0
You can use Ondrej's Launchpad PPA:
sudo add-apt-repository ppa:ondrej/apache2
sudo apt-get update
sudo apt-get dist-upgrade
I found this answer on DigitalOceans community support site:
Don't forget that after installing the new version of Apache, you need to activate the module manually:
sudo a2enmod http2In your Apache config file, you can either add global support:
Protocols h2 h2c http/1.1Or you can activate it for individual, secure vhosts:
Protocols h2 http/1.1Restart Apache and you're all set. You can test your server at https://tools.keycdn.com/http2-test.
Stephan Vierkant
- 1,375