Add full monorepo: virtual-banker, backend, frontend, docs, scripts, deployment
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
29
deployment/fail2ban/jail.local
Normal file
29
deployment/fail2ban/jail.local
Normal file
@@ -0,0 +1,29 @@
|
||||
# Fail2ban configuration for Explorer platform
|
||||
# Place in: /etc/fail2ban/jail.d/explorer.conf
|
||||
|
||||
[nginx-limit-req]
|
||||
enabled = true
|
||||
port = http,https
|
||||
logpath = /var/log/nginx/explorer-error.log
|
||||
maxretry = 10
|
||||
findtime = 600
|
||||
bantime = 3600
|
||||
action = %(action_)s
|
||||
|
||||
[nginx-botsearch]
|
||||
enabled = true
|
||||
port = http,https
|
||||
logpath = /var/log/nginx/explorer-access.log
|
||||
maxretry = 2
|
||||
findtime = 600
|
||||
bantime = 86400
|
||||
action = %(action_)s
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
port = ssh
|
||||
logpath = %(sshd_log)s
|
||||
maxretry = 5
|
||||
findtime = 600
|
||||
bantime = 3600
|
||||
|
||||
7
deployment/fail2ban/nginx.conf
Normal file
7
deployment/fail2ban/nginx.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
# Fail2ban filter for Nginx rate limiting
|
||||
# Place in: /etc/fail2ban/filter.d/nginx-limit-req.conf
|
||||
|
||||
[Definition]
|
||||
failregex = ^.*limiting requests, excess:.*by zone.*client: <HOST>.*$
|
||||
ignoreregex =
|
||||
|
||||
Reference in New Issue
Block a user