Hi,
I’m having problems trying to find a way to balance a group of servers based in host + path (not including query parameters).
For example if I receive the following requests:
- https://web1.my-domain.com/example.txt?page=2
- https://web2.my-domain.com/example.txt
- http://web2.my-domain.com/document.doc?format=txt
The following should be taken into account for the balance hashing algorithm:
I have checked the documentation but can’t see any possible way for the balance
configuration attribute to allow this.
For example setting the balance uri
setting (correct me if I’m wrong) the following will be used:
- /example.txt
- /example.txt
- /document.doc
And with balance uri whole
(again correct me if I’m wrong) the following will be used:
- /example.txt?page=2
- /example.txt
- /document.doc?format=txt
None of these options match what I need. I’m missing something or do I need to add something more complex like a custom header to allow balance
with the host and path?.
1 post - 1 participant