Change to position of include file custom-bad-referrers.conf

This commit is contained in:
Mitchell Krog UB1 2017-05-10 17:48:48 +02:00
parent 3c9210fe1e
commit 8e26c5f2d4
3 changed files with 41 additions and 38 deletions

View file

@ -17,11 +17,11 @@
### - https://github.com/oohnoitz/nginx-blacklist ### - https://github.com/oohnoitz/nginx-blacklist
### Last Updated ### Last Updated
### Updated: Wed May 10 17:40:15 SAST 2017 ### Updated: Wed May 10 17:48:48 SAST 2017
### End Last Updated ### End Last Updated
### Generated in ### Generated in
### 0.317951202393 seconds ### 0.316840648651 seconds
### End Generated in ### End Generated in
### Tested on: nginx/1.10.0 (Ubuntu 16.04) ### Tested on: nginx/1.10.0 (Ubuntu 16.04)
@ -123,6 +123,17 @@ map $http_user_agent $bad_bot {
default 0; 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 # Allow Good User-Agent Strings We Know and Trust
# *********************************************** # ***********************************************
@ -202,16 +213,6 @@ map $http_user_agent $bad_bot {
# This includes: # This includes:
# Known Vulnerability Scanners (now merged into one section) # 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 ### # START BAD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
"~*360Spider" 3; "~*360Spider" 3;
"~*80legs" 3; "~*80legs" 3;

View file

@ -17,11 +17,11 @@
### - https://github.com/oohnoitz/nginx-blacklist ### - https://github.com/oohnoitz/nginx-blacklist
### Last Updated ### Last Updated
### Updated: Wed May 10 17:40:15 SAST 2017 ### Updated: Wed May 10 17:48:48 SAST 2017
### End Last Updated ### End Last Updated
### Generated in ### Generated in
### 0.317951202393 seconds ### 0.316840648651 seconds
### End Generated in ### End Generated in
### Tested on: nginx/1.10.0 (Ubuntu 16.04) ### Tested on: nginx/1.10.0 (Ubuntu 16.04)
@ -123,6 +123,17 @@ map $http_user_agent $bad_bot {
default 0; 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 # Allow Good User-Agent Strings We Know and Trust
# *********************************************** # ***********************************************
@ -202,16 +213,6 @@ map $http_user_agent $bad_bot {
# This includes: # This includes:
# Known Vulnerability Scanners (now merged into one section) # 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 ### # START BAD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
"~*360Spider" 3; "~*360Spider" 3;
"~*80legs" 3; "~*80legs" 3;

View file

@ -17,11 +17,11 @@
### - https://github.com/oohnoitz/nginx-blacklist ### - https://github.com/oohnoitz/nginx-blacklist
### Last Updated ### Last Updated
### Updated: Wed May 10 17:40:15 SAST 2017 ### Updated: Wed May 10 17:48:48 SAST 2017
### End Last Updated ### End Last Updated
### Generated in ### Generated in
### 0.317951202393 seconds ### 0.316840648651 seconds
### End Generated in ### End Generated in
### Tested on: nginx/1.10.0 (Ubuntu 16.04) ### Tested on: nginx/1.10.0 (Ubuntu 16.04)
@ -123,6 +123,19 @@ map $http_user_agent $bad_bot {
default 0; 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 # Allow Good User-Agent Strings We Know and Trust
# *********************************************** # ***********************************************
@ -202,18 +215,6 @@ map $http_user_agent $bad_bot {
# This includes: # This includes:
# Known Vulnerability Scanners (now merged into one section) # 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 ### # START BAD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
"~*360Spider" 3; "~*360Spider" 3;
"~*80legs" 3; "~*80legs" 3;