This is an old revision of the document!
The purpose of a Proxy is to expand on functionality and add an extra layer of security. LiteSpeed doesn't support ProxyPass
, ProxyPassReverse
and other Apache mod_proxy directives(starting from LSWS 5.3.6, ProxyPass and-ProxyPassMatch support for AJP backend have been added but not supported for non-AJP backend). However, you can use a few methods to achieve the same goal on LSWS. Unless the proxy is on the same server, most of time you will need to manually setup extral app for proxy first, then use rewrite rules with [P], or context to make the proxy work.
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.
How Does LSWS Act as a Proxy and Handle Client Requests Meant for a Backend Server?
The client sends a request to LiteSpeed Web Server.
LSWS forwards that request to the backend server.
The backend server sends a response back to LSWS.
LSWS responds back to the Client acting as if there was no backend server.
Control Panel Environment
LSWS Native Configuration