You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
2.9 KiB
Plaintext
63 lines
2.9 KiB
Plaintext
4 years ago
|
# EDIT THIS FILE AS YOU LIKE TO ADD ANY ADDITIONAL BAD REFERRER DOMAINS YOU WANT TO SCAN FOR ###
|
||
|
|
||
|
# THIS IS BOTH YOUR WHITELIST AND BLACKLIST FOR REFERRERS and DOMAINS
|
||
|
|
||
|
# VERSION INFORMATION #
|
||
|
#----------------------
|
||
|
# Version: V4.2019.09
|
||
|
# Updated: 2019-07-05
|
||
|
#----------------------
|
||
|
# VERSION INFORMATION #
|
||
|
|
||
|
##############################################################################
|
||
|
# _ __ _ #
|
||
|
# / |/ /__ _(_)__ __ __ #
|
||
|
# / / _ `/ / _ \\ \ / #
|
||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||
|
# __/___/ __ ___ __ ___ __ __ #
|
||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||
|
# #
|
||
|
##############################################################################
|
||
|
|
||
|
# This is merely an example and gets auto included as since Version 2.2017.07 introduced on 2017-04-20
|
||
|
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
||
|
# Only add one entry per line
|
||
|
|
||
|
# Make sure any domains have dots and special characters escaped as per the Regex examples below.
|
||
|
# For example some-veryvery-randomwebsitename-thatdoesnotexist4.com should be entered as
|
||
|
# some\-veryvery\-randomwebsitename\-thatdoesnotexist4\.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 "someveryveryrandomwebsitenamethatdoesnotexist1\.com"
|
||
|
# is entered with a preceding (?:\b) and an ending (?:\b)
|
||
|
# this makes it now "(?:\b)someveryveryrandomwebsitenamethatdoesnotexist1\.com(?:\b)".
|
||
|
# It is crucial to use the word boundaries regex formatting.
|
||
|
# ---------
|
||
|
# EXAMPLES:
|
||
|
# ---------
|
||
|
# BY DEFAULT ALL THE EXAMPLES BELOW ARE COMMENTED OUT AND HENCE NOT ENABLED
|
||
|
# "~*(?:\b)someveryveryrandomwebsitenamethatdoesnotexist1\.com(?:\b)" 1;
|
||
|
# "~*(?:\b)someveryveryrandomwebsitenamethatdoesnotexist2\.com(?:\b)" 1;
|
||
|
# "~*(?:\b)someveryveryrandomwebsitenamethatdoesnotexist3\.com(?:\b)" 1;
|
||
|
# "~*(?:\b)some\-veryvery\-randomweb\-sitenamethatdoesnotexist4\.com(?:\b)" 1;
|
||
|
|
||
|
# ------------
|
||
|
# MY WHITELIST
|
||
|
# ------------
|
||
|
|
||
|
# "~*(?:\b)mywebsite\.com(?:\b)" 0;
|
||
|
|
||
|
|
||
|
# ------------
|
||
|
# MY BLACKLIST
|
||
|
# ------------
|
||
|
|
||
|
# "~*(?:\b)someotherwebsite\.com(?:\b)" 1;
|
||
|
|
||
|
|