This plugin allows you to limit the requests on your site per IP preventing DDOS attacks from bots and people.
This plugin requires Craft CMS 4.0.0 or later
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require liquid/craftcms-rate-limit
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Rate Limit.
You can configure the Rate Limit creating a file under your config folder named rate-limit with this content
<?php
return [
'maxRequestsPerIpPerMinute' => 100,
];
Brought to you by Liquid Studio