i dont know how to set the caddyfile
alway get the problem
Error: adapting config using caddyfile: parsing caddyfile tokens for ‘coraza_waf’: Caddyfile:18 - Error during parsing: invalid key for filter directive: load_owasp_crs, import chain: [‘’]
my caddy version v2.7.4
i used add-package install the coraza-caddy
it my caddyfile
{
order coraza_waf first
}
:80 {
# Set this path to your site’s directory.
root * /var/www/wordpress
coraza_waf {
load_owasp_crs
directives Include @coraza.conf Include @crs-setup.conf Include @owasp_crs/*.conf SecRuleEngine On
}
# Enable the static file server.
file_server
# Another common task is to set up a reverse proxy:
# reverse_proxy localhost:8080
# Or serve a PHP site through php-fpm:
php_fastcgi unix/run/php/php7.4-fpm.sock
}
who can give me a tutorial about caddy coraza_waf modsecrity how to use it