How nginx proxy works

Hello,

I would like to know how nginx proxy_pass works with upstream. I have 2
backend servers running. 1 nginx proxy running in front of them.

My question is
if one user connects to nginx proxy then nginx forward it to first
backend ?
or it forward it to both backend ?

Posted at Nginx Forum:

I think what you are looking for is
Using nginx as HTTP load balancer .

Hello,

Thank you for reply. I’m using round robin load balancing on nginx. I
can
see the how many connection is established on backend server. It shows
for
example

backend server 1 = 100 connection
backend server 2 = 99 connection

Does it mean unique 199 connection ? or unique ~100 connection ?

Is only ip_hash method for unique connection ?

Posted at Nginx Forum: