whitelist-domains.conf 767 B

12345678910111213
  1. # EDIT THIS FILE AS YOU LIKE TO WHITELIST YOUR OWN DOMAIN NAMES AND SPARE THEM FROM ANY REFERRER CHECKING ###
  2. # Add One Entry Per Line - List all your own domains of the sites you host on the server
  3. # This file must exist on your system or Nginx will fail a reload due to a missing file
  4. # Automatic updates will never be able to remove this custom list of yours
  5. # Add One Entry Per Line
  6. # Make sure any domains have dots and special characters escaped as per the Regex examples below.
  7. # For example myfirstowndomainname.com should be entered as myfirstowndomainname\.com
  8. # and my-second-owndomainname.com should be entered as my\-second\-owndomainname\.com
  9. SetEnvIfNoCase Referer "~*yourdomain\.com" good_ref
  10. SetEnvIfNoCase Referer "~*your\-domain\.com" good_ref