Thanks for the prompt feedback! Yes, the continuous if directives put my teeth on edge as well. Using a map block to introduce variables for $zone and $burst respectively, I tried this already and had continuous errors. Attempting this again (per your suggestions), I have this error -- nginx: invalid burst rate "burst=$burst" in /usr/local/nginx/conf/nginx.conf:69 With line 69 asby lorenanicole - Nginx Mailing List - English
Nginx novice here - after spending some time both here, reading through other community forums, and trial and error I'm looking for confirmation on my current Nginx config and/or suggestions on a better Nginx config. The end goal is to use both the IP address and User-Agent to rate limit requests being proxied to an external API. Currently the config sets zones with their respective rate limits anby lorenanicole - Nginx Mailing List - English