Re: [nginx] Using User-Agent & IP address to rate limit

2014-07-28 Thread lorenanicole
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: [eme

[nginx] Using User-Agent & IP address to rate limit

2014-07-28 Thread lorenanicole
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 b