Hello. I have tried to build 3rdparty dynamic module for nginx (https://github.com/SpiderLabs/ModSecurity-nginx), but after configuring (
./configure --with-compat --add-dynamic-module=/opt/custom/modsecurity-nginx-v1.0.1) and building (
make -j8) openresty says modsecurity is not binary compatible:
nginx: [emerg] module ... is not binary compatible in /opt/openresty/nginx/conf/nginx.conf:1
How should I configure openresty for dynamic modules usage? Both source and installed versions of openresty are equal.