From bbd4595b5f8d0d259a76272fd087350983594227 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 21 Feb 2021 12:51:39 +0800 Subject: [PATCH] Update luawaf.conf --- plugins/op_waf/conf/luawaf.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/op_waf/conf/luawaf.conf b/plugins/op_waf/conf/luawaf.conf index 17291c348..985cfca01 100755 --- a/plugins/op_waf/conf/luawaf.conf +++ b/plugins/op_waf/conf/luawaf.conf @@ -1,7 +1,7 @@ lua_shared_dict limit 30m; lua_shared_dict drop_ip 30m; lua_shared_dict drop_sum 30m; -lua_package_path "{$ROOT_PATH}/openresty/lualib/?.lua;;"; +lua_package_path "{$WAF_PATH}/lua/?.lua;{$ROOT_PATH}/openresty/lualib/?.lua;;"; access_by_lua_file {$WAF_PATH}/lua/init.lua; #init_by_lua_file {$WAF_PATH}/lua/init.lua;