Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:proxy:lsws-as-a-proxy [2017/08/11 20:21] Johathan Kagan created |
litespeed_wiki:proxy:lsws-as-a-proxy [2017/10/02 19:56] (current) Jackson Zhang |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LiteSpeed Web Server as a Proxy ====== | + | ====== How to set up the server as a proxy via contexts ====== |
- | 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. | + | |
- | + | ||
- | ==== 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. | + | |
- | + | ||
- | ==== How to set up the server as a proxy ==== | + | |
- Log in to the LSWS GUI. The default address is http://IP:7080 | - Log in to the LSWS GUI. The default address is http://IP:7080 | ||
Line 28: | Line 17: | ||
* Note: If a value other than ‘/’ is used, be sure that this directory also exists and is accessible on the backend web server. | * Note: If a value other than ‘/’ is used, be sure that this directory also exists and is accessible on the backend web server. | ||
* Web Server - Be sure to select the one that was just created. | * Web Server - Be sure to select the one that was just created. | ||
- | - Once all of the previous steps have been completed, perform a Graceful Restart to have the changes take affect. | + | - Once all of the previous steps have been completed, perform a Graceful Restart to have the changes take effect. |
The URL for vhost/context should now act as a proxy from the External App Web Server that was just set up. | The URL for vhost/context should now act as a proxy from the External App Web Server that was just set up. | ||
+ | |||
+ | Please also refer to [[litespeed_wiki:cache:no-plugin-advanced:reverse-proxy|How to setup LSWS as reverse proxy]]. |