chore: clean publish artifacts and add sources
This commit is contained in:
36
fail2ban-skyartshop.conf
Executable file
36
fail2ban-skyartshop.conf
Executable file
@@ -0,0 +1,36 @@
|
||||
# Fail2ban jail for SkyArtShop
|
||||
# Protects against brute force attacks and malicious access
|
||||
|
||||
[DEFAULT]
|
||||
bantime = 3600
|
||||
findtime = 600
|
||||
maxretry = 5
|
||||
banaction = iptables-multiport
|
||||
|
||||
[nginx-skyartshop]
|
||||
enabled = true
|
||||
port = http,https
|
||||
filter = nginx-skyartshop
|
||||
logpath = /var/log/nginx/skyartshop_access.log
|
||||
/var/log/nginx/skyartshop_error.log
|
||||
maxretry = 10
|
||||
findtime = 300
|
||||
bantime = 3600
|
||||
|
||||
[nginx-skyartshop-admin]
|
||||
enabled = true
|
||||
port = http,https
|
||||
filter = nginx-skyartshop-admin
|
||||
logpath = /var/log/nginx/skyartshop_access.log
|
||||
maxretry = 3
|
||||
findtime = 600
|
||||
bantime = 7200
|
||||
|
||||
[nginx-skyartshop-sql-injection]
|
||||
enabled = true
|
||||
port = http,https
|
||||
filter = nginx-sql-injection
|
||||
logpath = /var/log/nginx/skyartshop_access.log
|
||||
maxretry = 2
|
||||
findtime = 300
|
||||
bantime = 86400
|
||||
Reference in New Issue
Block a user