I am working on nginx proxy pass with load balancer and the problem is that I have 2 different url for both the backend server, let say my domain is xyzzy.com and 1 request out of 10 should go to xyz-1.com/123/xyz/andsoon and another 9 request should go to xyz-2.com/456/456/andsoon
how to achieve this using nginx configuration.