This repository has been archived by the owner on May 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Enable http/2 #146
Milestone
Comments
Installing and enabling the http2 module in Apache: # Create the .load config file
echo "LoadModule http2_module /usr/lib/apache2/modules/mod_http2.so" | sudo tee /etc/apache2/mods-available/http2.load
# Enable the module
sudo a2enmod http2
# Enable the h2 protocol
echo -e "\nProtocols h2 http/1.1\n" | sudo tee -a /etc/apache2/apache2.conf
# Restart Apache
box server:restart apache2 On your host machine, verify that the connection is now upgraded to HTTP/2 by checking the output from this cURL request:
It should return If it's not working, double check that Apache is not using the prefork MPM module:
If yes, disable it with |
stevenrombauts
pushed a commit
that referenced
this issue
May 31, 2019
stevenrombauts
pushed a commit
that referenced
this issue
May 31, 2019
stevenrombauts
pushed a commit
that referenced
this issue
May 31, 2019
Merged
stevenrombauts
pushed a commit
that referenced
this issue
May 31, 2019
stevenrombauts
pushed a commit
that referenced
this issue
Jun 4, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Enable http/2 protocol.
Links:
The text was updated successfully, but these errors were encountered: