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
Thank you for your response. I am new to nginx, can you elaborate or send a link to using Lua with nginx sticky module(for windows).
I need back up option so that in case 1 server becomes unavailable, all subsequest new requests go to available servers. My upstream application already handles unavailable sessions.

Also, is it possible to use the generic hashing to send all requests to same server for stickiness, using my upstream address?


upstream myLoadBalancer {
hash $upstream_addr;
server remote1:port1;
server remote1:port2;
server remote2.:port1;
}
Is something like above possible?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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