Enable HTTP/2 in Cpanel Server

HTTP/2 only works with mod_worker or mod_event. if you use another mpm module you need to switch to worker or event.

To install http2, login to WHM as user root. Go to

WHM > EasyApache 4 >  Currently Installed Packages > Customize

Now under Apache Modules, search for “http2”. Use the selector on right side to install it. Click “Next” until it it reach provision page. Click “Provision”.

Advertisement

Cpanel enable http2

Configuration for http2 located at

[root@ip-172-31-47-93 ~]# cat /etc/apache2/conf.d/http2.conf

    LogLevel http2:info
    Protocols h2 h2c http/1.1

[root@ip-172-31-47-93 ~]# 

You can verify HTTP2 work for your site at

https://tools.keycdn.com/http2-test

Most browsers only support HTTP2 over SSL, so make sure you have SSL (https://) enabled.

See Cpanel Server

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement