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
Next revision Both sides next revision
litespeed_wiki:config:enable-http2 [2017/01/30 19:44]
Jackson Zhang
litespeed_wiki:config:enable-http2 [2017/11/29 15:17]
Jackson Zhang
Line 1: Line 1:
 ====== How to enable HTTP/2 ====== ====== How to enable HTTP/2 ======
  
-The LiteSpeed ​web server support ​HTTP/2 since enterprise version ​5.0. HTTP/2 is enabled by default for SSL listener ​configured ​from httpd.conf. ​And it can be customized via "​SpdyEnabled"​ directive.+LiteSpeed ​Web Server supports ​HTTP/​2 ​out of the box since the introduction of Enterprise Version ​5.0. HTTP/2 is enabled by default for the SSL listeners ​configured ​in httpd.conf ​and Web GUIHTTP/​2 ​can be customized via "​SpdyEnabled"​ directive.
  
-SPDY is also enabled by default. However, enabling SPDY or HTTP/2 on backend ​LiteSpeed ​web server has no effect ​to end users if there is a front-end SSL proxy server and front-end SSL proxy is not capable of forwarding SPDY and HTTP/2 requests.+SPDY is also enabled by default ​since the introduction of Enterprise Version 5.0. However, if using a front-end SSL proxy server, enabling SPDY or HTTP/2 on LiteSpeed ​Web Server will have no effect, as front-end SSL proxies are not capable of forwarding SPDY and HTTP/2 requests. 
 + 
 +Please note, HTTP/2 requires OpenSSL 1.0.2 as minimum. OpenSSL versions less than 1.0.2 will force HTTP/2 connections to HTTP/1. However, LiteSpeed Enterprise Web Server is staticly linked with latest OpenSSL 1.0.2 release and it does not depends on the OpenSSL version coming with the system.  
 + 
 +HTTP/2 should work out of box for all HTTPS sites with LiteSpeed.  
 + 
 +Although HTTP/2 specification does not require TLS, TLS is required by browser implementations. 
 + 
 +====== How to check if HTTP/2 is enabled? ====== 
 + 
 +Though you can use the third party web tools to check, the most common and easy way to check is through browser'​s developer tools.  
 +h2 and http/2 mean HTTP/2 has been enabled for your server. 
 + 
 +{{ :​litespeed_wiki:​config:​http2-protocal.png?​800 |}}
  
-Also HTTP/2 requires openssl 1.0.2 as minimum. ​ Openssl versions < 1.0.2 would force HTTP/2 connections to HTTP 1. 
  
-Although HTTP/2 specification does not require TLS, TLS is required by HTTP/2 browser implementations. ​ 
  • Admin
  • Last modified: 2021/01/06 20:44
  • by Lisa Clarke