mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 15:58:48 +08:00
15 lines
567 B
Plaintext
15 lines
567 B
Plaintext
lua_shared_dict waf_req_count 10m;
|
|
lua_shared_dict waf 30m;
|
|
lua_shared_dict waf_block_ip 10m;
|
|
lua_shared_dict waf_ip_arr 10m;
|
|
lua_shared_dict waf_limit 10m;
|
|
lua_shared_dict waf_sql 50m;
|
|
lua_shared_dict waf_locks 100k;
|
|
|
|
lua_code_cache on;
|
|
lua_package_path "/usr/local/openresty/1pwaf/?.lua;/usr/local/openresty/1pwaf/lib/?.lua;;";
|
|
init_by_lua_file /usr/local/openresty/1pwaf/init.lua;
|
|
access_by_lua_file /usr/local/openresty/1pwaf/waf.lua;
|
|
log_by_lua_file /usr/local/openresty/1pwaf/log_and_traffic.lua;
|
|
init_worker_by_lua_file /usr/local/openresty/1pwaf/worker.lua;
|