参考文档:https://www.cnblogs.com/cheyunhua/p/13395745.html
1、openrestry配置
功能控制在:/usr/local/openrestry/nginx/conf/waf/config.lua
过滤参数在:/usr/local/openrestry/nginx/conf/waf/rule-config
例如:
白名单IP:whiteip.rule,每行一个IP:192.168.1.100
2、重启openrestry
/usr/local/openrestry/nginx/sbin/nginx -s restart
3、待补充