mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Add whitelist-domains.conf include file to Bad Referrer Word Scanning section.
This commit is contained in:
parent
2658a3249e
commit
7d15cf1719
1 changed files with 12 additions and 0 deletions
|
@ -723,6 +723,18 @@ map $http_referer $bad_words {
|
|||
# BE VERY CAREFUL using the bad-referrer-words.conf file - please read the comment and
|
||||
# examples inside the include file for detailed explanations into how seriously this can
|
||||
# affect your own site from serving assets or other innocent sites from accessing your site
|
||||
# For safety sake the whitelist-domains.conf file is also loaded here before the bad-referrer-words.conf file.
|
||||
|
||||
# ************************************************************************
|
||||
# START WHITELISTED DOMAINS ### DO NOT EDIT OR REMOVE THIS LINE AT ALL ###
|
||||
# ************************************************************************
|
||||
|
||||
include /etc/nginx/bots.d/whitelist-domains.conf;
|
||||
|
||||
# **********************************************************************
|
||||
# END WHITELISTED DOMAINS ### DO NOT EDIT OR REMOVE THIS LINE AT ALL ###
|
||||
# **********************************************************************
|
||||
|
||||
|
||||
# ******************************************************************************
|
||||
# START CUSTOM BAD REFERRER WORDS ### DO NOT EDIT OR REMOVE THIS LINE AT ALL ###
|
||||
|
|
Loading…
Add table
Reference in a new issue