I have two separate Nginx machines. The domain uses round-robin DNS and has two A records, one for each of the two frontend Nginx server.
Both Nginx servers use the
ip_hash directive and proxy requests to the same backend servers.
Will an IP address that goes to the first Nginx server always be routed to the same backend server as that same IP address that goes to the other Nginx server?
This may be of help: What IP does nginx use for ip_hash sticky sessions?