I'm getting a second application/web server soon for my rails project, and I'd like lsws to send some of the requests to it, while handling some locally.
1) Is this a reverse proxy? I get so confused about reverse vs. normal.
2) My plan was to run dispatch.lsapi manually on the second host, and add it to the "external applications" list, Then add a 'load balancer' in the external applications with each lsapi name
3) What would I call the "rails context"'s lsapi? It doesn't seem to have a name. The php one for the admin site seems to be uds://tmp/lshttpd/lsphp.sock, so I could try and figure out where the socket is placed. Can it be used with a remote address?
4) Or would it be better to just add a second installation of lsws on the 2nd server, and add an external 'web server' to my main installation, and a load balancer to somehow send half the traffic there. What do I use to reference the current server in the load balancer?
Thanks for a great product! I'm especially excited about the web-based config.
1) Is this a reverse proxy? I get so confused about reverse vs. normal.
2) My plan was to run dispatch.lsapi manually on the second host, and add it to the "external applications" list, Then add a 'load balancer' in the external applications with each lsapi name
3) What would I call the "rails context"'s lsapi? It doesn't seem to have a name. The php one for the admin site seems to be uds://tmp/lshttpd/lsphp.sock, so I could try and figure out where the socket is placed. Can it be used with a remote address?
4) Or would it be better to just add a second installation of lsws on the 2nd server, and add an external 'web server' to my main installation, and a load balancer to somehow send half the traffic there. What do I use to reference the current server in the load balancer?
Thanks for a great product! I'm especially excited about the web-based config.