centminmod / centminmod-ultimate-bad-bot-blocker

Ultimate Bad Bot Blocker are for Centmin Mod 123.09beta01
https://centminmod.com/
12 stars 6 forks source link

kernel 5.2 #2

Open mrEckendonk opened 4 years ago

mrEckendonk commented 4 years ago

Works out of the box, only need to change to get it to work with kernel 5.2

http {
limit_req_zone $binary_remote_addr zone=xwprpc:10m rate=30r/s;
limit_req_zone $binary_remote_addr zone=flood:10m rate=30r/s;   

So this should be a pull request, but opened it as issue to have response for correct settings.

Issue as response on issue https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/309

mitchellkrogza commented 4 years ago

A safe limit I have found for the flood zone is limit_req_zone $binary_remote_addr zone=flood:50m rate=90r/s; this does not seem to break wordpress sites which call many resources and plugin include files all causing many requests from one visitor.