owasp-modsecurity / ModSecurity-nginx

ModSecurity v3 Nginx Connector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error nginx-1.21.5 arguments

DonXirus opened this issue · comments

checking for getaddrinfo() ... found
configuring additional modules
adding module in /home/abuild/rpmbuild/BUILD/nginx-1.21.5/_passenger_source_code/src/nginx_module
./configure: error: no /home/abuild/rpmbuild/BUILD/nginx-1.21.5/_passenger_source_code/src/nginx_module/config was found

when doing

cd /usr/local/src/nginx-1.21.5
./configure ... -I/home/abuild/rpmbuild/BUILD/nginx-1.21.5/_passenger_source_code/src/nginx_module ... --add-dynamic-module=../ModSecurity-nginx
any solution and Thanks for the best security project ever

Tnaks i fixed it basically i need to edit the "/home/abuild/rpmbuild/BUILD/nginx-1.21.5/_passenger_source_code/src/nginx_module" to /opt/cpanel/ea-ruby27/src/passenger-release-6.0.12/src/nginx_module" and it worked