Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:faq:disabling-http2 [2015/12/16 15:29]
Michael Alegre
litespeed_wiki:faq:disabling-http2 [2022/07/26 19:10] (current)
Lisa Clarke Copyediting
Line 1: Line 1:
-===== Can I Disable HTTP/2? =====+====== Can I Disable HTTP/​2? ​======
  
-YesHTTP/2 is enabled by default for SSL listeners ​configured from "​httpd.conf"​, but can be disabled per virtual host via the "SpdyEnabled" ​directive.+YesHTTP/2 is enabled by default for SSL listeners, but may be turned off at the virtual host level with the ''​SpdyEnabled'' ​directive ​in the ''​httpd.conf''​ configuration file, or via the WebAdmin Console
  
-To do thisinclude ​the following in your SSL virtual host configuration using a virtual host level include file+In ''​httpd.conf''​use the ''​SpdyEnabled off''​ directive to disable all protocols, like so:
  
   <​IfModule LiteSpeed>​   <​IfModule LiteSpeed>​
Line 9: Line 9:
   </​IfModule>​   </​IfModule>​
  
-**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.+Other valid parameters are ''​spdy2'',​ ''​spdy3'',​ ''​http2'',​ and ''​http3''​
  
-You can find more information on virtual host include files for your specific control panel here: \\ +**NOTE:** All protocols (except the SPDY protocol, as of v6.0.12) are enabled by default. When you use this directive to explicitly enable one or more protocols, anything not selected will be //​disabled//​. So, if you wanted to disable HTTP/2, but you still wanted to keep HTTP/3 enabled, you would have to use ''​SpdyEnabled http3''​. This would enable HTTP/3 while leaving everything else (including HTTP/2) off. 
-[[https://​documentation.cpanel.net/​display/​EA/​Modify+Virtualhost+Containers+With+Include+Files|cPanel]],​ [[http://​download1.parallels.com/​Plesk/​Doc/​es-ES/​online/​plesk-linux-advanced-administration-guide/​index.htm?​fileName=72064.htm|Plesk]],​ [[http://​help.directadmin.com/​item.php?​id=3|DirectAdmin]]+ 
 +In the WebAdmin Console, you can find the **Enable SPDY/​HTTP2/​HTTP3** option in the **SSL** tab for both **Listeners** and **Virtual Hosts**. Deselect the ''​HTTP/​2''​ option to disable HTTP/2.  
 +   
 +**IMPORTANT:​** 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: [[https://​documentation.cpanel.net/​display/​EA/​Modify+Virtualhost+Containers+With+Include+Files|cPanel]],​ [[http://​download1.parallels.com/​Plesk/​Doc/​es-ES/​online/​plesk-linux-advanced-administration-guide/​index.htm?​fileName=72064.htm|Plesk]],​ [[http://​help.directadmin.com/​item.php?​id=3|DirectAdmin]]
  
  • Admin
  • Last modified: 2015/12/16 15:29
  • by Michael Alegre