I’m using Nginx as a reverse proxy and have configuration as follows
upstream ba{
server 127.0.0.1:8091;
server 127.0.0.1:8092;
}
server {
listen 8098;
server_name 127.0.0.1:8098;
location / {
proxy_pass http://ba;
}
}
My Question is if Client A is routed to 8091 and Client B is routed to 8092, then will nginx handle all subsequent calls of client A to 8091 and client B to 8092? I know for sure that if I use ip_hash then it sure does, but how does nginx behave in this case.
Thanks
–SD
Pls. look at the “sticky” module