I am trying to add header-more nginx module,
added below line in nginx.conf
load_module /etc/nginx/modules/ngx_http_headers_more_filter_module.so;
and
--add-dynamic-module=""
using below versions.
NGINX_LUA = "lua-nginx-module-0.10.21.tar.gz"
LUAJIT = "luajit2-2.1-20220411.tar.gz"
NGINX_NJS="njs-0.7.7.tar.gz"
HEADER_MORE="v0.33.tar.gz"
tried with headers-more v0.34 and 0.35 as well
getting below error.
2023/12/21 11:47:44 [alert] 1#1: 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 '/etc/nginx/webui/lua/callhome/resty/core.lua'
no file '/etc/nginx/webui/lua/hostadmin-mfa/resty/core.lua'
no file '/etc/nginx/webui/lua/common/resty/core.lua'
no file '/etc/nginx/webui/lua/eca/resty/core.lua'
no file '/etc/nginx/webui/lua/fips-compliance-check/resty/core.lua'
no file '/etc/nginx/webui/lua/smtp/resty/core.lua'
no file '/etc/nginx/webui/lua/smart-card/resty/core.lua'
no file './resty/core.lua'
no file '//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 '//share/lua/5.1/resty/core.lua'
no file '//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 '//lib/lua in /etc/nginx/nginx.conf:151
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 '/etc/nginx/webui/lua/callhome/resty/core.lua'
no file '/etc/nginx/webui/lua/hostadmin-mfa/resty/core.lua'
no file '/etc/nginx/webui/lua/common/resty/core.lua'
no file '/etc/nginx/webui/lua/eca/resty/core.lua'
no file '/etc/nginx/webui/lua/fips-compliance-check/resty/core.lua'
no file '/etc/nginx/webui/lua/smtp/resty/core.lua'
no file '/etc/nginx/webui/lua/smart-card/resty/core.lua'
no file './resty/core.lua'
no file '//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 '//share/lua/5.1/resty/core.lua'
no file '//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 '//lib/lua in /etc/nginx/nginx.conf:151