I’m trying to setup a rate limiting rule for the api service of my website. The routes under api are something like:
/api/users/
/api/accounts/
/api/whatever/
etc
I’m trying to add a rate limiting rule for everything under /api so that a request to /api/user and /api/accounts and /api/whatever would be subject to rate limiting.
I tried using “URI path is in /api” but that doesn’t seem to work. What should be the wildcard to catching everything under /api?
Using “uri path includes” /api instead of “is in” works in this case but I would rather have something like “uri path is /api/*” but i don’t know if that’s a valid wildcard