I went through my google analytic log and updated the referrer blacklist for Nginx. As before, it’s available as a gist on GitHub.
map $http_referer $bad_referer { hostnames; default 0; # Put regexes for undesired referers here "~social-buttons.com" 1; "~semalt.com" 1; "~kambasoft.com" 1; "~savetubevideo.com" 1; "~descargar-musica-gratis.net" 1; "~7makemoneyonline.com" 1; "~baixar-musicas-gratis.com" 1; "~iloveitaly.com" 1; "~ilovevitaly.ru" 1; "~fbdownloader.com" 1; "~econom.co" 1; "~buttons-for-website.com" 1; "~buttons-for-your-website.com" 1; "~srecorder.co" 1; "~darodar.com" 1; "~priceg.com" 1; "~blackhatworth.com" 1; "~adviceforum.info" 1; "~hulfingtonpost.com" 1; "~best-seo-solution.com" 1; "~googlsucks.com" 1; "~theguardlan.com" 1; "~i-x.wiki" 1; "~buy-cheap-online.info" 1; "~Get-Free-Traffic-Now.com" 1; "~free-floating-buttons.com" 1; "~event-tracking.com" 1; "~qualitymarketzone.com" 1; "~get-free-social-traffic.com" 1; "~copyrightclaims.org" 1; "~alibestsale.com" 1; "~snip.to" 1; "~traffic2cash.xyz" 1; "~snip.tw" 1; "~googlemare.com" 1; "~nufaq.com" 1; "~topseoservices.co" 1; "~trafficgenius.xyz" 1; "~for-your.website" 1; "~share-buttons.xyz" 1; "~traffic2cash.xyz" 1; "~годом.рф" 1; "~nufaq.com" 1; "~free-traffic.xyz" 1; "~ɢoogle.com" 1; "~lifehacĸer.com" 1; "~eyeserp.com" 1; "~addons.mozilla.org" 1; "~motherboard.vice.com" 1; "~google-liar.ru" 1; }
# Add This in your server directive if ($bad_referer) { return 444; }
30th December 2015
Linux, Scripts, Sysadmin
blacklist, block, nginx, referrer, spam
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Notify me via e-mail if anyone answers my comment.
© 2021 Antoine Aflalo — Powered by WordPress
Theme by Anders Noren — Up ↑
Leave a Reply