How to send a REST request to another node if the service on the current node is not available?

2015-05-31 Thread Lu, Boying
Hi, All, We setup a cluster of three nodes and running ngix on each node to load balance. I found that if a REST service is unavailable on current node, the corresponding REST request sending to this node will return the service unavailable response to the client. Is there a way (e.g. configur

RE: Can I use ngix as a SSL encryption wrapper as Stunnel?

2014-10-11 Thread Lu, Boying
I just want to wrapper node-to-node TCP communications among ZooKeeper nodes which uses its own protocol Zab. I know it can be done through Stunnel. Is it feasible to use Nginx? If yes, can you point me to some document? Thanks Boying -Original Message- From: nginx-boun...@nginx.org

Can I use ngix as a SSL encryption wrapper as Stunnel?

2014-10-10 Thread Lu, Boying
Hi, All, I'm new to Ngix. All I know is that it can be used as a LB for a website. Someone told me that I can use it as an alternative to Stunnel. Does anyone know that I can use ngix as a replacement to Stunnel? If so, is there any document about how to do this? Thanks Boying ___