Posted by eule on July 24, 2014 at 7:50pm
hello,
i try to deny some referer Spam in some szenarios i get it working in other not. i use these locations in a drupal 7 install and this seems to work.
location / {
valid_referers none blocked *.kambasoft.com *.savetubevideo.com;
if ($invalid_referer) {
return 403;
}
}on the same server i have 2 preview drupal 8 sites, if i use these locations i can access the frontpage but all other pages i become a 403 nginx error.
can anyone help with this? i look in the perusio nginx config and find nothing about blocking referer spam in this way.
thanks
