Can least_conn and sticky work together?

Issue #27 new
tjpassinger created an issue

Hi,

If I add the directives "least_conn" and "stick hash=sha1 httponly" at the same time, can these 2 directives take effect both?

If yes, that means when the first request comes, nginx will find a server with least connections and add the cookie "route" to the request; then the later requests from the same client will always forward the same server according to the value of cookie "route".

Thanks

Comments (0)

  1. Log in to comment