Skip to content

expdb2015/WizWAF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-lua-ds-waf-new

基于openresty/lua-nginx-module的全新设计的WAF系统

A new WAF based on openresty/lua-nginx-module

Dependencies:

  • openresty or nginx with openresty/lua-nginx-module
  • resty/redis_iresty.lua

Installation:

将代码放在位于nginx根目录下的lua/nginx-lua-ds-waf-new/下

Put the code into the directory lua/nginx-lua-ds-waf-new which is located in the root directory of the nginx

在nginx.conf的http段中添加如下配置:

Add the config below to the http seg in nginx.conf:

lua_package_path "/usr/local/nginx/lua/nginx-lua-ds-waf-new/?.lua;;";
init_by_lua_file lua/nginx-lua-ds-waf-new/init.lua;
access_by_lua_file lua/nginx-lua-ds-waf-new/waf.lua;

About

基于openresty的全新设计的WAF系统

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%