You can install ModSecurity on your server using CloudPages
Go to your server dashboard, and click on ModSecurity in the sidebar
Once you see the ModSecurity page press the Install Now button.
The installation process will begin and will take some time to complete, after which you can see that the process is complete.
Set the requride data according to your choice and click the save button