Skip to content

betta-cyber/kwaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kwaf

this is a light waf depend on openresty

require

Lua library for HTTP cookie

https://github.com/cloudflare/lua-resty-cookie

Lua CJSON is a fast JSON encoding/parsing module for Lua

https://github.com/openresty/lua-cjson

luafilesystem

https://github.com/keplerproject/luafilesystem

install

install require by luarocks

add this in your nginx conf

lua_shared_dict rule_cache 128m;
access_by_lua_file 'lua/waf.lua';
body_filter_by_lua_file 'lua/body_filter.lua';

enable which protect you want in lua/config.lua

Releases

No releases published

Packages

No packages published

Languages