Welcome! Log In Create A New Profile

Advanced

Re: valid_referers directive not working correctly

Anonymous User
November 12, 2012 04:46AM
Very strange, moving the directive into the server block, now blocks everything, including requests from my own server.

valid_referers server_names *.my-domain.io;
if ($invalid_referer) {
return 403;
}

Strange that when the code was copied twice into the / location bllock and php match block it worked.
SubjectAuthorPosted

valid_referers directive not working correctly

Anonymous UserNovember 12, 2012 04:03AM

Re: valid_referers directive not working correctly

VBartNovember 12, 2012 04:14AM

Re: valid_referers directive not working correctly

Anonymous UserNovember 12, 2012 04:19AM

Re: valid_referers directive not working correctly

Igor SysoevNovember 12, 2012 04:28AM

Re: valid_referers directive not working correctly

Valentin V. BartenevNovember 12, 2012 04:32AM

Re: valid_referers directive not working correctly

Anonymous UserNovember 12, 2012 04:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 78
Record Number of Users: 3 on November 23, 2014
Record Number of Guests: 377 on November 23, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready