I've seen that setting up load-balancing with nginx is pretty easy and i'd like to give it a try. My only concern is about sessions: how can I take advantage of nginx to route all the subsequent calls from a client to the same server to achieve session stickiness?

Thanks

link|improve this question

60% accept rate
feedback

1 Answer

up vote 0 down vote accepted

use ip_hash directive

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.