I would like to setup haproxy to do the following:
Haproxy records visited urls and counts hits for every visited url.
Depending on hit count, if the visited url is above arbitrary threshold of let’s say 3 hits, it would be sent to specific backend, if below it would go to default backend.
Unfortunately I don’t know how to setup stick table storing information I need and use it in acl.
I would be grateful for example how to do that.