Yes, HTTP/2 is enabled by default for SSL listeners configured from “httpd.conf”, but can be disabled per virtual host via the “SpdyEnabled” directive.

To do this, include the following in your SSL virtual host configuration using a virtual host level include file

<IfModule LiteSpeed>
SpdyEnabled off
</IfModule>

Note: Disable Spdy: If HTTP/2 is required but spdy needs to be disabled, this can be done by changing SpdyEnabled off to SpdyEnabled http2.

Note: You CANNOT modify your virtual host configuration directly when using a hosting control panel as the changes may be overwritten whenever the hosting control panel regenerates the Apache configuration file.

You can find more information on virtual host include files for your specific control panel here:
cPanel, Plesk, DirectAdmin

  • Admin
  • Last modified: 2019/09/26 18:05
  • by Jonathan Kagan