- Plesk for Linux
How to enable HTTP/2 support for Nginx in Plesk?
HTTP/2 support requires the Plesk 12.5.30 Update#28 or newer and Nginx version 1.9.14 or newer.
To enable HTTP/2 support for Nginx:
Install Plesk 12.5.30 Update #28 or later according to the article Installing Plesk micro-updates .
Check that Nginx web server is version 1.9.14 or newer at Tools & Settings > Server Components.
Check that Nginx web server is running using at Tools & Settings > Services Management pages.
Connect to the server using SSH
enable HTTP/2 with the following command:
# plesk bin http2_pref enable
Note: During this step 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 client's sites with 'SSL Support' will be moved to HTTP/2.
Note: HTTP/2 can be disabled with the following command:
# plesk bin http2_pref disable
Note: HTTP/2 support is a server-wide setting and cannot be set for specific domains only