问题
I'm running nginx load balancer for meteor application. My app occasionally run into reload loop and does not terminate. I take some debug screenshots here:
https://drive.google.com/#folders/0B0ayFgn4x5Sccjd1QTdYdDNkNXc
In reload_route_cookies.png (see below), client side shows multiple cookie routes. How do I make sure that my app only loads code from one server?

回答1:
I found that telling nginx sticky session path=/ will fix the issue.
upstream vida_node_server {
sticky path=/;
# ...
}
来源:https://stackoverflow.com/questions/23769925/how-to-make-meteor-get-code-from-one-server-with-load-balancer