Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Nginx 3rd party sticky module with backup server

$
0
0
rits Wrote:
-------------------------------------------------------
> Thanks.
>
> I tried it. sessions are sticking to the same server but It is not
> doing round robin, My all requests are going only to first upstream
> server configured in nginx config.

Round robin and sticking to one member do NOT go together (unless a member has failed).

ea. you want to go from A to B and have to choose between a tunnel and a bridge, you can't use both.

Sticky sticks to the first available member and any subsequent call is routed via the cookie to the same member, ip_hash is what comes the closest to what sticky does.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>