My Nix Configuration
1# Strict Auto-ban 2# https://stalw.art/docs/server/auto-ban 3{ 4 auth.rate = "15/1d"; 5 abuse.rate = "15/1d"; 6 loiter.rate = "15/1d"; 7 scan = { 8 rate = "20/1d"; 9 paths = [ 10 "*.php*" 11 "*.cgi*" 12 "*.asp*" 13 "*/wp-*" 14 "*/php*" 15 "*/cgi-bin*" 16 "*xmlrpc*" 17 "*../*" 18 "*/..*" 19 "*joomla*" 20 "*wordpress*" 21 "*drupal*" 22 "/.git*" 23 ]; 24 }; 25}