[alibaba/tengine][question] 2.1.2版本默认不打开lua扩展么?

2024-01-30 524 views
5

我直接configure, 然后用 -l 看,没有lua扩展, 代码里的content_by_lua也出问题。这个应该加到默认配置吧。

回答

7

哦,看意思是默认不带的。希望能在readme里说一下。

6
$ ./configure --help | grep -w http_lua_module
  --with-http_lua_module             enable ngx_http_lua_module (will also enable --with-md5 and --with-sha1)

用这个参数可以打开