HTTP/2 is an HTTP version that makes applications faster, simpler, and more robust in comparison with HTTP/1. To be able to use HTTP/2 you need to set up the connection through HTTPS. To make your website support HTTPS, enable the option Secure connection (SSL) on the website creation or edit form. For more information refer to the article Add a website.
HTTP/2 support is also available if the OpenLiteSpeed web server is installed. In this case, support is enabled automatically.
HTTP/2 is supported only:
- on CentOS 7, Debian 10, Debian 11, Ubuntu 18, Ubuntu 20;
- if your server runs Nginx 1.12 (or later) and OpenSSL 1.0.2k (or later). Read more in Web-servers;
- you have added at least one WWW-domain with an SSL certificate connected.
Complete the following steps:
- Navigate to Settings → Web-server settings.
- Check the Enable HTTP/2 box.
- HTTP/2 will be enabled for all the WWW-domains wit the Secure connection (SSL) activated.