This is an old revision of the document!


LiteSpeed Web Server as a Proxy

The purpose of a Proxy is to expand on functionality and add an extra layer of security.

This wiki explains how to set up LiteSpeed Web Server (LSWS) as a Proxy. This makes it possible to transform a URL that is usually just an IP and Port into a Fully Qualified Domain Name.

In a control panel environment, such as cPanel, you may have used Apache mod_proxy directives. LiteSpeed can work with Mod_Proxy though it does require you to manually add an external app to configure LSWS and make it fully functional.

How Does LSWS Act as a Proxy and Handle Client Requests Meant for a Backend Server?

  • First the client sends a request to LiteSpeed Web Server.
  • LSWS then forwards that request to the backend server.
  • The backend server will then send a response back to LSWS.
  • Finally, LSWS responds back to the Client acting as if there was no backend server.

Control Panel Environment

Use Mod_Proxy Directive with LSWSHow to Make Apache Mod_Proxy Work with LSWS in Control Panel Environment

LSWS Native Configuration

Web Proxy as a ContextHow to Set up LiteSpeed Web Server as a Proxy via Contexts
Web Proxy as a RewriteRule in Native LSWSHow to Set up Native LiteSpeed Web Server as a Proxy via Rewrite Rules
WebSocket ProxyHow to Set up LiteSpeed Web Server as a WebSocket Proxy
Reverse ProxyHow to Set up LSWS as Reverse Proxy
  • Admin
  • Last modified: 2018/01/19 20:41
  • by Lisa Clarke