Jelastic: automatically update nginx upstream when Automatic Horizontal Scaling is triggered
I would like to use Automatic Horizontal Scaling in Jelastic, but this would only make sense if it could automatically update the relevant upstream in nginx.conf when a node is added/removed.
Example: Automatic Horizontal Scaling is triggered for my Node.js server application and a new node is added. It should also automatically update in each Nginx node’s nginx.conf all upstreams where the Node.js master node’s ip is specified.
How could this be achieved?
I have read all related docs such as Jelastic Automatic Horizontal Scaling and have not found a solution yet.
Read more here: Source link
