Skip to content

winewei/lua-waf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

  • clone
git clone https://github.com/winewei/lua-waf.git
cd lua-waf
docker-compose up -d

Set the block

  • support no redis
    BASE_COUNT_TTL: 10
    BASE_BAN_LIMIT: 10
    BASE_BAN_TTL: 60
    SUPER_BAN_LIMIT: 50
    SUPER_BAN_TLL: 3600
    
  • update docker-compose environment
    BASE_COUNT_TTL: 10
    BASE_BAN_LIMIT: 10
    BASE_BAN_TTL: 60
    SUPER_BAN_LIMIT: 50
    SUPER_BAN_TLL: 3600
    REDISHOST: "192.168.1.2"
    REDISPORT: 6379
    

About

A simple lua waf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages