mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-16 10:09:48 +00:00
V2.2017.05 - Major Version Update
- PLEASE READ UPDATED CONFIGURATION INSTRUCTIONS - PLEASE READ CHANGELOG - New Custom Include File (/etc/nginx/bots.d/blacklist-user-agents.conf ) for Blacklisting your own User-Agents which will not get wiped out with updates - New include file (/etc/nginx/conf.d/botblocker-nginx-settings.conf) for having the important nging settings automatically included into your nginx.conf for you. - New Bash Installer Script for Easy Installation and Copying Files Directly from the Repo - Important to note changes in this Version Update as you will get EMERG errors if you are missing any of the new include files
This commit is contained in:
parent
4a97891513
commit
f19f327dcb
12 changed files with 202 additions and 62 deletions
4
conf.d/botblocker-nginx-settings.conf
Normal file
4
conf.d/botblocker-nginx-settings.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
server_names_hash_bucket_size 64;
|
||||
server_names_hash_max_size 4096;
|
||||
limit_req_zone $binary_remote_addr zone=flood:50m rate=90r/s;
|
||||
limit_conn_zone $binary_remote_addr zone=addr:50m;
|
|
@ -2,7 +2,7 @@
|
|||
### THE ULTIMATE NGINX BAD BOT BLOCKER
|
||||
### **********************************
|
||||
|
||||
### Version 2.2017.04
|
||||
### Version 2.2017.05
|
||||
|
||||
### This file implements a checklist / blacklist for good user agents, bad user agents and
|
||||
### bad referrers. It also has whitelisting for your own IP's and known good IP Ranges
|
||||
|
@ -17,11 +17,11 @@
|
|||
### - https://github.com/oohnoitz/nginx-blacklist
|
||||
|
||||
### Last Updated
|
||||
### Thu Mar 2 10:24:06 SAST 2017
|
||||
### Thu Mar 2 12:27:06 SAST 2017
|
||||
### End Last Updated
|
||||
|
||||
### Generated in
|
||||
### 0.314051389694 seconds
|
||||
### 0.217051389694 seconds
|
||||
### End Generated in
|
||||
|
||||
### Tested on: nginx/1.10.0 (Ubuntu 16.04)
|
||||
|
@ -202,6 +202,14 @@ map $http_user_agent $bad_bot {
|
|||
# This includes:
|
||||
# Known Vulnerability Scanners (now merged into one section)
|
||||
|
||||
# ***********************************************
|
||||
# Include your Own Custom List of Bad User Agents
|
||||
# ***********************************************
|
||||
|
||||
# START BLACKLISTED USER-AGENTS / BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
include /etc/nginx/bots.d/blacklist-user-agents.conf;
|
||||
# END BLACKLISTED USER-AGENTS / BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
# START BAD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
"~*360Spider" 3;
|
||||
"~*80legs" 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue