mirror of https://github.com/openwrt/packages.git
nginx-mod-lua-resty-core and nginx-mod-lua-resty-lrucache install
their Lua files under /usr/lib/lua, but luajit2 looks for Lua files
only under /usr/share/lua and uses /usr/lib/lua for C modules. The lua
module loads resty.core at startup, so once nginx-mod-lua is
installed, nginx does not start unless lua_package_path is set, which
the default configuration does not do:
[alert] failed to load the 'resty.core' module (...)
Install the files under /usr/share/lua. They are plain Lua modules, so
install them with INSTALL_DATA (0644) instead of INSTALL_BIN (0755).
Fixes:
|
||
|---|---|---|
| .. | ||
| files | ||
| files-luci-support | ||
| patches | ||
| Config_ssl.in | ||
| Makefile | ||