mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 15:11:55 +08:00
15 lines
568 B
Plaintext
15 lines
568 B
Plaintext
lua_shared_dict waf_req_count 10m;
|
|
lua_shared_dict waf 50m;
|
|
lua_shared_dict waf_block_ip 10m;
|
|
lua_shared_dict waf_ip_arr 20m;
|
|
lua_shared_dict waf_limit 10m;
|
|
lua_shared_dict waf_sql 200m;
|
|
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;
|