Hello,

When in a clustered mode deployment, I need to be able to map certain
requests that an ats node receives to the origin server.
When I have a load balancer fronting the cluster, there is no way of
knowing which server which get what request. So assuming that there are 3
ats nodes, and a origin server URL, say http://www.example.com/origin, is
there a better way of remapping this than what is written below?

*map http://www.ats1.com/origin <http://www.ats1.com/origin>
http://www.example.com/origin <http://www.example.com/origin>*
*map http://**www.**ats2.com/origin <http://ats2.com/origin>
http://www.example.com/origin <http://www.example.com/origin>*
*map http://**www.**ats3.com/origin <http://ats3.com/origin>
http://www.example.com/origin <http://www.example.com/origin>*

Instead of having 3 different entries for the same destination, can the
source hostname (like www.ats1.com, www.ats2.com etc) be changed something
generic so that I dont have make an entry for every node's hostname and
have a single entry for all the nodes in the cluster?.

Thanks,
Rakesh

Reply via email to