ngx_lua_waf
ngx_lua_waf copied to clipboard
Can't start Nginx after installing the waf module
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