Created
December 21, 2018 07:56
-
-
Save lnrsoft/d4e3ff5aa7dac775c0936a4fd5f2d595 to your computer and use it in GitHub Desktop.
Enabling HTTP2 in Apache on Ubuntu 18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install php7.2-fpm | |
$ sudo a2enmod proxy_fcgi | |
$ sudo a2enconf php7.2-fpm | |
$ sudo a2dismod php7.2 | |
$ sudo a2dismod mpm_prefork | |
$ sudo a2enmod mpm_event | |
$ sudo service apache2 restart | |
#nstalling and Enabling HTTP/2 in Apache | |
#Enable the module mod_http2: | |
$ sudo a2enmod http2 | |
$ sudo service apache2 restart | |
#Enable the HTTP/2 protocol by adding the following to /etc/apache2/apache2.conf: | |
Protocols h2 http/1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment