-
Notifications
You must be signed in to change notification settings - Fork 494
Open
Description
FROM webdevops/php-nginx:8.3-alpine
RUN <<-EOT
apk add --no-cache nginx-mod-http-lua
sed -i '5i \
load_module /usr/lib/nginx/modules/ndk_http_module.so; \
load_module /usr/lib/nginx/modules/ngx_http_lua_module.so; \
pcre_jit on;' \
/opt/docker/etc/nginx/nginx.conf
EOT
This worked until recently, now it produces this error:
INFO spawned: 'nginxd' with pid 78
-> Executing /opt/docker/bin/service.d/nginx.d//10-init.sh
INFO success: nginxd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
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: /usr/share/lua/common/resty/core/base.lua:24: ngx_http_lua_module 0.10.26 required) in /etc/nginx/nginx.conf:37
WARN exited: nginxd (exit status 1; not expected)
Metadata
Metadata
Assignees
Labels
No labels