Currently I am using this partial config to direct the user to a different server if the url has a string in it:
acl olay1 url_sub token
acl olay2 url_sub alert
acl olay3 url_sub alarm
use-server node1 if olay1 or olay2 or olay3
this normally works when i trigger the url from the browser but , from my app ,t doesn't work because I am using http POST method to post the url to my server. And when the method is post , haproxy is not able to see the url string completely because post method hides the variable after ? like www.example.com/a.php?action=tokensave
Is there a way to make haproxy's config work with the post method for url_sub ?
Thank you.