-
Go to Configuration → Virtual Hosts and click on the Virtual Host that is going to be used as the proxy.
In the Virtual Host configuration, go to the External App tab and hit Add.
Select Web Server from the drop down list.
On the following page, fill in the following and hit Save:
Name - Any unique external app name.
Address - The IP:PORT or UDS socket of the backend server.
Max Connections - The maximum number of concurrent connections to this Web Server at any time.
Initial Request Timeout (secs) - The maximum time in seconds the server will wait for a response.
Retry Timeout (secs) - The period of time that the server waits before retrying a request.
After saving, go to the Context Tab and hit Add.
Select Proxy from the drop down list.
Fill in the following and hit Save:
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.
Please also refer to How to setup LSWS as reverse proxy.