block proxies and abusers

This commit is contained in:
bunkerity
2020-10-04 21:07:39 +02:00
parent 3a9afa47b6
commit f4c43a2148
6 changed files with 48 additions and 8 deletions

3
confs/limit-req.conf Normal file
View File

@@ -0,0 +1,3 @@
limit_req_status 429;
limit_req zone=limit burst=%LIMIT_REQ_BURST% nodelay;

View File

@@ -25,6 +25,8 @@ server {
%BLOCK_COUNTRY%
%BLOCK_USER_AGENT%
%BLOCK_TOR_EXIT_NODE%
%BLOCK_PROXIES%
%BLOCK_ABUSERS%
%COOKIE_FLAGS%
%ERRORS%
%USE_FAIL2BAN%