Hi List,
Trying to compile modsecurity for nginx, using these instructions:
https://www.nginx.com/blog/compiling-and-installing-modsecurity-for-open-source-nginx/
but module always fails to load:
nginx: [emerg] module "/etc/nginx/modules/ngx_http_modsecurity_module.so"
is not binary compatible in /etc/nginx/nginx.conf:10
I am using source packages from aws linux. I mroanaged get module working
with full recompline of nginx package, but not single module. any clues how
to fix this issue.
Someone said that it might be related to compile parameters:
https://www.nginx.com/blog/compiling-and-installing-modsecurity-for-open-source-nginx/,
but how to pick correct ones from large list that nginx -V produces?
Eero
|