Jump to content
ClicShopping News Read more... ×
Sign in to follow this  
Patrick

How to enable http/2 under apache 2.4

Recommended Posts

A little tuto can help under ispconfig 3.1 to enable the http/2 protocols

Http/2 protocols increase the speed to display your website.

 

you can test there  : https://tools.keycdn.com/http2-test

or via this command

 

1 - edit all your website

cd /etc/apache2/sites-available


to test
 

sudo a2enmod http2


and restart apache2

Number 1 : Install all the website

cd /etc/apache2/sites-available

 

nano mydomain.com


under ServerAdmin add

Protocols h2 http/1.1


restart apache2

/etc/init.d/apache2 restart


make the same thing for all website

2-  all new website

 

vi 000-default.conf


below DocumentRoot add

Protocols h2 http/1.1

3 - Via the panel

 

edit your website, go to options and apache directive add

 

Protocols h2 http/1.1

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use