First commit

This commit is contained in:
2026-07-20 11:05:07 +02:00
commit b592ab669f
159 changed files with 10294 additions and 0 deletions
+76
View File
@@ -0,0 +1,76 @@
[nginx-http-auth]
enabled = true
backend = auto
port = http,https
logpath = /var/log/nginx/*error.log
[nginx-req-limit]
enabled = true
backend = auto
filter = nginx-limit-req
port = http,https
logpath = /var/log/nginx/*error.log
findtime = 30s
maxretry = 5
bantime = 10m
[nginx-botsearch]
enabled = true
backend = auto
port = http,https
logpath = /var/log/nginx/*error.log
[nginx-noscript]
enabled = true
backend = auto
port = http,https
logpath = /var/log/nginx/*access.log
maxretry = 3
findtime = 5m
bantime = 15m
[nginx-unauthorized]
enabled = true
backend = auto
port = http,https
logpath = /var/log/nginx/*access.log
maxretry = 3
findtime = 5m
bantime = 15m
[nginx-badbots]
enabled = true
backend = auto
port = http,https
logpath = /var/log/nginx/*access.log
maxretry = 1
findtime = 1h
bantime = 24h
[nginx-nohome]
enabled = true
backend = auto
port = http,https
logpath = /var/log/nginx/*access.log
maxretry = 5
findtime = 5m
bantime = 15m
[nginx-noproxy]
enabled = true
backend = auto
port = http,https
logpath = /var/log/nginx/*access.log
maxretry = 3
findtime = 5m
bantime = 15m
# Activer si trop de 404/403 en dehors des autres filtres
[nginx-4xx]
enabled = false
backend = auto
port = http,https
logpath = /var/log/nginx/*.log
maxretry = 10
findtime = 5m
bantime = 15m