Is this setting possible?

image

Is this setting possible? Assume test.txt has domains starting with a, b, c.
If the request path is /app/a (where we also need a way to recognize the characters after /app/ without specifying the final /a), how can we check if the domain called a exists in test.txt and then send it to a specific backend?

I’d refer you to the documentation about 7. Using ACLs and fetching samples and more specifically 7.2. Using ACLs to form conditions.

I’m not sure what that means. Can you make an example?