Can we setup WordPress Brute Force Attack Protection on directadmin?

I try to set it on /etc/httpd/conf/extra/httpd-includes.conf reference from this: but still not working.
this is httpd-includes.conf contents:
Include /etc/httpd/conf/extra/i360.remoteip.conf

Include "/etc/httpd/conf/extra/modsec2.imunify.conf"

#For mod_lsphp settings

Include /etc/httpd/conf/extra/mod_lsapi.conf

Include "/etc/httpd/conf/extra/jh.error-pages.conf"

<IfModule Litespeed>

  CacheRoot /home/lscache

  WordPressProtect drop, 5

I have had success before on cpanel. but it hasn't worked on directadmin.