Tutorial - HTTP/2 Support in Plesk | Vevioz Community

Tutorial HTTP/2 Support in Plesk

DevOps

Linux Systems Engineer
Joined
Oct 18, 2019
Messages
136
Reaction score
11
Points
18
Location
Indonesia
Website
www.anymusics.com
Offline
Overview

HTTP/2 (also known as HTTP/2.0 and HTTP 2.0) is the second major version of the HTTP network protocol used by the World Wide Web. Ratified in May 2015, HTTP/2 was created to address some significant performance problems with HTTP 1.1. The advantages of this protocol can be found
Please, Log in or Register to view URLs content!
. Currently HTTP/2 is supported by most major web browsers.

HTTP/2 support is available for Plesk customers starting from the version 12.5.30 Update #28 and requires the latest version of nginx.
Note: HTTP/2 is supported for SSL sites only, so non-SSL sites will continue to work under HTTP/1.x.

How to Enable HTTP/2 support for your web site

Make sure you have nginx web server updated to the latest version and running. You can do this on the Tools & Settings -> Server Components and the Tools & Settings -> Services Management pages.

Login to your server via SSH under root and enable HTTP/2 support in Plesk using the following command line utility:

Code:
# plesk bin http2_pref enable
During the last step your nginx web server will be tuned to use the TLS protocol with modern and secure ciphers, the whole web server configuration will be rebuilt, and all your and your customers’ web sites with SSL support will be moved to HTTP/2.
Please check the output of the command for errors or warnings during switching to HTTP/2. If there are any problems, refer to the Troubleshooting section below.
Note: You can simply use an online service like
Please, Log in or Register to view URLs content!
to check that HTTP/2 is enabled on a domain.

If you wish to return to HTTP 1.x and to disable HTTP/2, please use the following command:

Code:
# plesk bin http2_pref disable
 
Top Bottom