diff options
| author | Z. Liu <zhixu.liu@gmail.com> | 2024-12-23 11:56:54 +0800 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-12-23 09:37:28 +0000 |
| commit | 7ac2835a3fc6c319970af018f3c38752ca46e14a (patch) | |
| tree | 1736dc426f59d8bfa89181d6b13b37db68ffce9e /dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild | |
| parent | 125bb98bc8f18c1b0a6453d09a6c8546299789b2 (diff) | |
| download | gentoo-7ac2835a3fc6c319970af018f3c38752ca46e14a.tar.gz gentoo-7ac2835a3fc6c319970af018f3c38752ca46e14a.tar.bz2 gentoo-7ac2835a3fc6c319970af018f3c38752ca46e14a.zip | |
www-servers/nginx: add lua config if USE="nginx_modules_http_lua"
Start from commit
https://github.com/openresty/lua-nginx-module/commit/60736e686ac5ca5af9a5bf118cb9bd4a9126cefc
'resty.core' is now mandatorily loaded, and the 'lua_load_resty_core'
directive is deprecated. See also https://github.com/openresty/lua-nginx-module/pull/1501
If nginx is built with USE="nginx_modules_http_lua", there must have
resty.core (OpenResty or a module named 'resty') exist, otherwise nginx
will fail to start w/ messages like bellow:
nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:
no field package.preload['resty.core']
no file './resty/core.lua'
no file '/usr/share/luajit-2.1.0-beta3/resty/core.lua'
no file '/usr/local/share/lua/5.1/resty/core.lua'
no file '/usr/local/share/lua/5.1/resty/core/init.lua'
no file '/usr/share/lua/5.1/resty/core.lua'
no file '/usr/share/lua/5.1/resty/core/init.lua'
no file './resty/core.so'
no file '/usr/local/lib/lua/5.1/resty/core.so'
no file '/usr/lib64/lua/5.1/resty/core.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './resty.so'
no file '/usr/local/lib/lua/5.1/resty.so'
no file '/usr/lib64/lua/5.1/resty.so'
no file '/usr/local/lib/lua/5.1/loadall.so') in /etc/nginx/nginx.conf:47
Closes: https://bugs.gentoo.org/726728
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39823
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild')
0 files changed, 0 insertions, 0 deletions
