-
Notifications
You must be signed in to change notification settings - Fork 50
load crs config failed #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Any updates? |
I suppose you are trying to run Caddy with this configuration on Windows, I have discovered that there is issue with using |
I believe after #176 it should be fixed. |
still having same issue using bundled configuration rules ( {"message":"loading new config: loading http app module: provision http: server srv0: setting up route handlers: route 0: loading handler modules: position 0: loading module 'waf': provision http.handlers.waf: invalid WAF config from string: failed to readfile: open @owasp_crs\\REQUEST-901-INITIALIZATION.conf: The system cannot find the path specified."} Full Caddyfile: {
order coraza_waf first
}
(waf) {
coraza_waf {
load_owasp_crs
directives `
Include @coraza.conf-recommended
Include @crs-setup.conf.example
# This fails
Include @owasp_crs/*.conf
# This works fine
#Include rules/*.conf
SecRuleEngine On
`
}
}
:8080 {
import waf
respond "Hello, world!" 200
}
|
Error: loading initial config: loading new config: loading http app module: provision http: server srv0: setting up route handlers: route 0: loading handler modules: position 0: loading module 'waf': provision http.handlers.waf: invalid WAF config from string: failed to readfile: open @owasp_crs\REQUEST-901-INITIALIZATION.conf: The system cannot find the path specified.
The text was updated successfully, but these errors were encountered: