How to secure Dokuwiki

Hi,

I just noticed a security message after installing DokuWiki that some directories are not secured.
Have I been using Apache that would have been done automatically but Cyberpanel is not compatible it seems? The warning message I get is the following:
It seems your data directory is not properly secured please read security [DokuWiki]

DokuWiki does not support Cyberpanel as of now. support for below rule is missing:
<Directory /var/www/dokuwiki>
order deny,allow
allow from all

    <LocationMatch "/(data|conf|bin|inc|vendor)/">
        order allow,deny
        deny from all
        satisfy all
    </LocationMatch>

Did anyone managed to secure DokuWiki?

Thanks

what directory you wanna secure ?

I believe this guide might be help