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