Server Setup

Issue #44 new
Former user created an issue

I have two upstream look like this

upstream api {
   sticky name=app expires=2h;
   server 10.3.223.32:80;  <-- Server 1
   server 10.3.223.33:80;  <-- Server 2
}

upstream backend {
   sticky name=app expires=2h;
   server 10.3.223.32:8010;  <-- Server 1
   server 10.3.223.33:8010;  <-- Server 2
}

Im testing with my app (in my phone) call both of them upstream above. I saw in upstream api, request into server 1 but in backend upstream, request into server 2.

How can all the requests from the same place are pointing to the same server with two upstream

Comments (0)

  1. Log in to comment