Add whitelist-domains.conf include file to Bad Referrer Word Scanning section.

This commit is contained in:
Mitchell Krog 2017-07-07 12:12:56 +02:00
parent 2658a3249e
commit 7d15cf1719

View file

@ -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 ###