We have this code in our NGINX config
proxy_pass https://api.company.com/xxxx/prod/public/v1/retrieve
The https://api.company.com
as a load balancer which calls either server1 or server2.
But NGINX seems to be calling server1 or server2 with an actual IP address.
How does NGINX know the IP address of server1 or server2?