Plesk

How to enable HTTP/2 support for Nginx in Plesk?

Question

How to enable HTTP/2 support for Nginx in Plesk?

Answer

To enable HTTP/2 support for Nginx:

  1. Connect to the serverĀ using SSH
  2. 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

Additional information

HTTP/2 Support in Plesk