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;