D
D
das342016-03-13 19:47:22
Nginx
das34, 2016-03-13 19:47:22

Setting up nginx, protection, referral spam?

Good evening everyone!!!
Too many different referrs started to appear in the logs
something similar
vk.com/znakomstva2u 15 11.2% 15 6.6%
vk.com/renteilat 15 11.2% 15 6.6%
go.mail.ru/search 12 9% 12 5.2%
burger-imperia.com 11 8.2% 11 4.8%
sexidating.xyz 5 3.7% 5 2.2%
lifecorp.me 5 3.7% 5 2.2%
vk.com/dietgumbuy 5 3.7% 5 2.2%
imgur.com/uucYNRD 5 3.7% 5 2.2%
linda.sexidating. xyz/virtual-sex-game-3d 5 3.7% 5 2.2%
cas0.ru/igrovye-avtomaty-besplatno-bezregistracie.html
how to effectively deal with this spam in nginx? and what is it anyway? I did not find my site on these resources, meanwhile the site has been losing positions very much lately.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Selivanov, 2016-03-26
@selivanov_pavel

nginx.org/en/docs/http/ngx_http_referer_module.html

valid_referers none blocked server_names *.example.com example.com;
if ($invalid_referer) {
  return   403;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question