added nginx-badbots fail2ban rule https://stackoverflow.com/a/65552146

This commit is contained in:
2023-03-31 11:27:55 +02:00
parent d2380db06b
commit 4b3ccb3fff
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
[Definition]
failregex = FastCGI sent in stderr: "Primary script unknown" .*, client: <HOST>
ignoreregex =

View File

@@ -0,0 +1,7 @@
[nginx-badbots]
enabled = true
port = http,https
filter = <FILTER>
logpath = <LOGPATH>
maxretry = 2