mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-04 19:50:17 +00:00
Deprecate blacklist-domains.conf
This commit is contained in:
parent
74a798257e
commit
b3fe873750
2 changed files with 8 additions and 42 deletions
|
@ -50,7 +50,6 @@ script:
|
||||||
- bash .dev-tools/test-blocker.sh
|
- bash .dev-tools/test-blocker.sh
|
||||||
- bash .dev-tools/test-blocker-badwords.sh
|
- bash .dev-tools/test-blocker-badwords.sh
|
||||||
- bash .dev-tools/test-blocker-whitelist-domains.sh
|
- bash .dev-tools/test-blocker-whitelist-domains.sh
|
||||||
- bash .dev-tools/test-blocker-blacklist-domains.sh
|
|
||||||
- bash .dev-tools/test-blocker-whitelist.sh
|
- bash .dev-tools/test-blocker-whitelist.sh
|
||||||
- bash .dev-tools/modify-files-and-commit.sh
|
- bash .dev-tools/modify-files-and-commit.sh
|
||||||
|
|
||||||
|
|
|
@ -1,45 +1,12 @@
|
||||||
# EDIT THIS FILE AS YOU LIKE TO BLACKLIST YOUR OWN CUSTOM DOMAIN NAMES ###
|
# DEPRECATED
|
||||||
|
|
||||||
### VERSION INFORMATION #
|
# This file is no longer used
|
||||||
###################################################
|
|
||||||
### Version: V4.2019.05
|
|
||||||
### Updated: 2019-06-24
|
|
||||||
###################################################
|
|
||||||
### VERSION INFORMATION ##
|
|
||||||
|
|
||||||
##############################################################################
|
# ********************************************
|
||||||
# _ __ _ #
|
# ALL Blacklisting AND Whitelisting is done in
|
||||||
# / |/ /__ _(_)__ __ __ #
|
# ********************************************
|
||||||
# / / _ `/ / _ \\ \ / #
|
|
||||||
# /_/|_/\_, /_/_//_/_\_\ #
|
|
||||||
# __/___/ __ ___ __ ___ __ __ #
|
|
||||||
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
|
||||||
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
|
||||||
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
|
||||||
# #
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
# Add One Entry Per Line - List all your own extra domains you want to blacklist.
|
|
||||||
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
|
||||||
# Automatic updates will never be able to remove this custom list of yours
|
|
||||||
# Add One Entry Per Line
|
|
||||||
|
|
||||||
# Make sure any domains have dots and special characters escaped as per the Regex examples below.
|
|
||||||
# For example myblacklisteddomainname.com should be entered as myfirstowndomainname\.com
|
|
||||||
# and my-second-blacklisted.com should be entered as my\-second\-owndomainname\.com
|
|
||||||
|
|
||||||
# *****************************************************************************************
|
|
||||||
# PLEASE MAKE SURE that you use word regex boundaries to avoid false positive detection !!!
|
|
||||||
# *****************************************************************************************
|
|
||||||
|
|
||||||
# As you can see in the examples below the domain "myblacklisteddomainname\.com" is entered with a preceding \b and an ending \b
|
|
||||||
# this makes it now "\bmyblacklisteddomainname\.com\b". It is crucial to use the word boundaries regex formatting.
|
|
||||||
|
|
||||||
# BY DEFAULT ALL THE EXAMPLES BELOW ARE COMMENTED OUT AND HENCE NOT ENABLED
|
|
||||||
# ---------
|
|
||||||
# EXAMPLES:
|
|
||||||
# ---------
|
|
||||||
# "~*\bmyblacklisteddomainname\.com\b" 1;
|
|
||||||
# "~*\bmy\-second\-blacklisted\.com\b" 1;
|
|
||||||
|
|
||||||
|
# include /etc/nginx/bots.d/whitelist-domains.conf; < whitelisting of domains (can also blacklist)
|
||||||
|
# include /etc/nginx/bots.d/custom-bad-referrers.conf; < whitelisting AND blacklisting of domains and referrer domains
|
||||||
|
|
||||||
|
# DEPRECATED
|
||||||
|
|
Loading…
Add table
Reference in a new issue