How to enable http2 in Plesk? Read the article to know more. Bobcares, as a part of our Plesk Hosting Support offers solutions to every query that comes our way.
How to enable http2 in Plesk?
The second major version of the HTTP network protocol, which the World Wide Web uses, is the HTTP/2 (also known as HTTP/2.0 and HTTP 2.0). In order to address certain serious performance issues with HTTP 1.1, HTTP/2 was developed in May 2015.
Multiplexing, header compression, and server push are just a few of the performance advantages that HTTP/2 has over the earlier HTTP/1.1 protocol. The user experience and page loading speeds are also enhanced.
Steps to enable http2 in Plesk
In order to enable http2 in Plesk, we must run the following steps:
1. Firstly, log in to the Plesk control panel as an admin.
2. Then go to the domain or website for which we want to enable HTTP/2.
3. Now, under the “Domains” section, click on the “Apache & Nginx Settings”.
4. Also include the below line in the “Additional nginx directives” field.
http2;
5. If the field already contains other directives, we must make sure to add the line on a new line and separate it with a semicolon (;).
6. Now, click on the “Apply” button to save the changes.
7. Lastly, repeat the above steps for any other domains or websites where we want to enable HTTP/2.
Configuring the Nginx web server, which serves as a reverse proxy for web content, is necessary to enable HTTP/2 in Plesk. We can tell Nginx to use the HTTP/2 protocol for the chosen domain or website by using the http2 directive in the extra Nginx directives.
[Looking for a solution to another query? We’re available round the clock.]
Conclusion
It’s a good idea to test the website’s performance after enabling http2 in Plesk to make sure the protocol is being used effectively.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments