How to set loadbalancer serverin condition basis.

I have 2 backend server URL in UAT and prod region there we can set load balancer URL like below .

<LoadBalancer><Servername="target1"/><Servername="target2"/></LoadBalancer>
but Dev and IT environment i have only one server , i have to use same code across all the environment . is there any conditional logic ? or shall i put same endpoint in server1 and server 2 ?.
Solved Solved
0 1 325
1 ACCEPTED SOLUTION

There are other ways you could do this (eg, route rules) but I think putting the same endpoint in both target1 and target2 is going to provide the simplest and most consistent setup across environments.

View solution in original post

1 REPLY 1

There are other ways you could do this (eg, route rules) but I think putting the same endpoint in both target1 and target2 is going to provide the simplest and most consistent setup across environments.