Nginx Rate Limiting

Nginx web server support rate-limiting with module ngx_http_limit_req_module.

Block WordPress wp-login.php attack

To block the WordPress wp-login.php attack, add the following to http section of your nginx.conf file.

2r/2 = Lmit 2 requests per second.

Inside server entry for the website, add

Leave a Reply

Your email address will not be published. Required fields are marked *