I need someone to write a custom fail2ban rule, that will search for people that reached limit request, for example: 3 times..
Then deny them using [login to view URL] (deny, or mapping rule) for x amount of time.. then unban.
This is a very simple task. I could write you this in a couple of minutes.
Remember though that nginx is not accepting new data in the config the moment the data is entered, you'd have to reload nginx (resulting in no downtime).
I could create a fail2ban ban rule that would add IPs that reach the rate-limit X amount of times to a new file, then automatically reload nginx and create a unban rule that would delete the IP from the file again and reload nginx again.