ngx_lua_waf icon indicating copy to clipboard operation
ngx_lua_waf copied to clipboard

Can't start Nginx after installing the waf module

Open CL0UD5H4D3 opened this issue 4 years ago • 0 comments

After automating the installation of waf using addons.sh in oneinstack, the command sudo systemctl restart nginx.service failed to start Nginx, so use sudo systemctl status nginx.service -l to view the details, and the terminal showsnginx: [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/local/nginx/conf/waf/resty/core/base.lua:24: ngx_http_lua_module 0.10.18 or 0.10.19 required) in /usr/local/nginx/conf/nginx.conf:101

CL0UD5H4D3 avatar Aug 12 '21 10:08 CL0UD5H4D3