mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Change to position of include file custom-bad-referrers.conf
This commit is contained in:
parent
3c9210fe1e
commit
8e26c5f2d4
3 changed files with 41 additions and 38 deletions
|
@ -17,11 +17,11 @@
|
|||
### - https://github.com/oohnoitz/nginx-blacklist
|
||||
|
||||
### Last Updated
|
||||
### Updated: Wed May 10 17:40:15 SAST 2017
|
||||
### Updated: Wed May 10 17:48:48 SAST 2017
|
||||
### End Last Updated
|
||||
|
||||
### Generated in
|
||||
### 0.317951202393 seconds
|
||||
### 0.316840648651 seconds
|
||||
### End Generated in
|
||||
|
||||
### Tested on: nginx/1.10.0 (Ubuntu 16.04)
|
||||
|
@ -123,6 +123,17 @@ map $http_user_agent $bad_bot {
|
|||
|
||||
default 0;
|
||||
|
||||
# ***********************************************
|
||||
# Include your Own Custom List of Bad User Agents
|
||||
# ***********************************************
|
||||
# use the include file below to further customize your own list of additional
|
||||
# user-agents you wish to permanently block
|
||||
|
||||
# START BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
include /etc/nginx/bots.d/blacklist-user-agents.conf;
|
||||
# END BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
|
||||
# ***********************************************
|
||||
# Allow Good User-Agent Strings We Know and Trust
|
||||
# ***********************************************
|
||||
|
@ -202,16 +213,6 @@ 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
|
||||
# ***********************************************
|
||||
# use the include file below to further customize your own list of additional
|
||||
# user-agents you wish to permanently block
|
||||
|
||||
# START BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
include /etc/nginx/bots.d/blacklist-user-agents.conf;
|
||||
# END BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
# START BAD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
"~*360Spider" 3;
|
||||
"~*80legs" 3;
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
### - https://github.com/oohnoitz/nginx-blacklist
|
||||
|
||||
### Last Updated
|
||||
### Updated: Wed May 10 17:40:15 SAST 2017
|
||||
### Updated: Wed May 10 17:48:48 SAST 2017
|
||||
### End Last Updated
|
||||
|
||||
### Generated in
|
||||
### 0.317951202393 seconds
|
||||
### 0.316840648651 seconds
|
||||
### End Generated in
|
||||
|
||||
### Tested on: nginx/1.10.0 (Ubuntu 16.04)
|
||||
|
@ -123,6 +123,17 @@ map $http_user_agent $bad_bot {
|
|||
|
||||
default 0;
|
||||
|
||||
# ***********************************************
|
||||
# Include your Own Custom List of Bad User Agents
|
||||
# ***********************************************
|
||||
# use the include file below to further customize your own list of additional
|
||||
# user-agents you wish to permanently block
|
||||
|
||||
# START BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
include /etc/nginx/bots.d/blacklist-user-agents.conf;
|
||||
# END BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
|
||||
# ***********************************************
|
||||
# Allow Good User-Agent Strings We Know and Trust
|
||||
# ***********************************************
|
||||
|
@ -202,16 +213,6 @@ 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
|
||||
# ***********************************************
|
||||
# use the include file below to further customize your own list of additional
|
||||
# user-agents you wish to permanently block
|
||||
|
||||
# START BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
include /etc/nginx/bots.d/blacklist-user-agents.conf;
|
||||
# END BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
# START BAD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
"~*360Spider" 3;
|
||||
"~*80legs" 3;
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
### - https://github.com/oohnoitz/nginx-blacklist
|
||||
|
||||
### Last Updated
|
||||
### Updated: Wed May 10 17:40:15 SAST 2017
|
||||
### Updated: Wed May 10 17:48:48 SAST 2017
|
||||
### End Last Updated
|
||||
|
||||
### Generated in
|
||||
### 0.317951202393 seconds
|
||||
### 0.316840648651 seconds
|
||||
### End Generated in
|
||||
|
||||
### Tested on: nginx/1.10.0 (Ubuntu 16.04)
|
||||
|
@ -123,6 +123,19 @@ map $http_user_agent $bad_bot {
|
|||
|
||||
default 0;
|
||||
|
||||
# ***********************************************
|
||||
# Include your Own Custom List of Bad User Agents
|
||||
# ***********************************************
|
||||
# use the include file below to further customize your own list of additional
|
||||
# user-agents you wish to permanently block
|
||||
|
||||
# START BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
include /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/travisCI/nginx/bots.d/blacklist-user-agents.conf;
|
||||
|
||||
# END BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
|
||||
# ***********************************************
|
||||
# Allow Good User-Agent Strings We Know and Trust
|
||||
# ***********************************************
|
||||
|
@ -202,18 +215,6 @@ 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
|
||||
# ***********************************************
|
||||
# use the include file below to further customize your own list of additional
|
||||
# user-agents you wish to permanently block
|
||||
|
||||
# START BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
include /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/travisCI/nginx/bots.d/blacklist-user-agents.conf;
|
||||
|
||||
# END BLACKLISTED USER AGENTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
# START BAD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
"~*360Spider" 3;
|
||||
"~*80legs" 3;
|
||||
|
|
Loading…
Add table
Reference in a new issue