I have configured nginx-1.9.2 to evaluate a third party module and configure the source like this:
./configure --add-module=../ngx_http_proxy_connect_module-master/ --add-module=../lua-5.1.4/ --with-http_ssl_module After compiling the version shows what I configured: # nginx -V nginx version: nginx/1.9.2 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) built with OpenSSL 1.0.2k-fips 26 Jan 2017 TLS SNI support enabled configure arguments: --add-module=../ngx_http_proxy_connect_module-master/ --add-module=../lua-5.1.4/ --with-http_ssl_module I have lua installed as well as compiled into nginx: # lua Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio When I try to load my config file, I get this error message: # nginx -t nginx: [emerg] unknown directive "rewrite_by_lua_file" in /usr/local/nginx/conf/nginx.conf:25 nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed I am trying to figure out what I did wrong to receive this error.
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx