web server setting example:
Connection Keepalive Timeout:60
Initial Request Timeout (secs):10
Retry Timeout (secs):3
Other fields can be empty.
for step 2, I'm managing a dedicated server, so I defined several virtual hosts.
I know in WHM/cPanel env, virtual host list can be empty and everything can be read from http.conf. not sure how to do in WHM/cPanel env, so below only refer dedicated server case.
Configuration->Virtual Hosts, my defined 3 virtual hosts list there under "Virtual Host List". Click 1 of them, then you can see "Context" button. Click the "Context"-->Add, select Type "Proxy",specify URI, Web Server. Example setting:
This means all visits to yourhost.com/images/, LSWS receives the requests, then pass to server abcd_server to handle the requests, abcd_server return the response result to LSWS, finally LSWS return the result to user browser.
For URIs other than /images/, LSWS may directly process them, or pass to another web server(like abcd_server) to handle it. Users can only see yourhost.com, abcd_server etc backend severs are transparent to them.