-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
This issue is very similar to #169 except for the fact that it happens on Linux (Rocky 9.5 specifically), here is the exact error line:
Error: loading http app module: provision http: server srv1: setting up route handlers: route 0: loading handler modules: position 0: loading module 'subroute': provision http.handlers.subroute: setting up subroutes: route 0: loading handler modules: position 0: loading module 'waf': provision http.handlers.waf: invalid WAF config: open @coraza.conf-recommended: no such file or directory
And this is my WAF config:
(waf) {
coraza_waf {
directives `
Include @coraza.conf-recommended
Include @crs-setup.conf.example
Include @owasp_crs/*.conf
SecRuleEngine On
`
}
}
I tested it with a fresh xcaddy build:
$ caddy-custom --version
v2.10.0 h1:fonubSaQKF1YANl8TXqGcn4IbIRUDdfAkpcsfI/vX5U=
Metadata
Metadata
Assignees
Labels
No labels