Skip to content
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

load crs config failed #169

Open
dirac921 opened this issue Aug 28, 2024 · 0 comments
Open

load crs config failed #169

dirac921 opened this issue Aug 28, 2024 · 0 comments

Comments

@dirac921
Copy link

dirac921 commented Aug 28, 2024

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.

{
	debug
	order coraza_waf first
}
(waf) {
	coraza_waf {
		load_owasp_crs
		directives `
			Include @coraza.conf-recommended
			Include @crs-setup.conf.example
			Include @owasp_crs/*.conf
			SecRuleEngine On
		`
	}
}
:8809 {
	import waf
	handle_path /videoApi/* {
		reverse_proxy https://10.89.15.11:943 {
			transport http {
				tls_insecure_skip_verify
			}
		}
	}
	log {
		format json {
			time_local
			time_format wall_milli
		}
		output file ./log/1.log
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant