Add --with-compat to nginx compile options
Please add --with-compat
flag to nginx compile options. Without this flag, dynamic modules must be compiled with the full list of compile time options that were used to compile the nginx binary. If the nginx binary is compiled using --with-compat
flag, dynamic modules only need to be compiled using --with-compat
flag to produce a binary compatible build.
Ref: http://mailman.nginx.org/pipermail/nginx-devel/2016-October/008920.html