Hello,
what does naxsi has to do with it? you probably wanted to talk about nginx,
naxsi is a 3rd-party-module, extending nginx on WAF-features
four your probkem you might wnat to check
http://nginx.org/en/docs/http/ngx_http_limit_req_module.html
cheers,
mex