From 7d15cf171991757a334e7c95657a686d2e239313 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Fri, 7 Jul 2017 12:12:56 +0200 Subject: [PATCH] Add whitelist-domains.conf include file to Bad Referrer Word Scanning section. --- travisCI/globalblacklist.template | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/travisCI/globalblacklist.template b/travisCI/globalblacklist.template index 41da132ab..aa2bbb781 100755 --- a/travisCI/globalblacklist.template +++ b/travisCI/globalblacklist.template @@ -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 ###