Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: valid_referers directive not working correctly
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
justin
November 12, 2012 04:46AM
Registered: 1 year ago
Posts: 64
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.
Reply
Quote
RSS
Subject
Author
Posted
valid_referers directive not working correctly
justin
November 12, 2012 04:03AM
Re: valid_referers directive not working correctly
VBart
November 12, 2012 04:14AM
Re: valid_referers directive not working correctly
justin
November 12, 2012 04:19AM
Re: valid_referers directive not working correctly
Igor Sysoev
November 12, 2012 04:28AM
Re: valid_referers directive not working correctly
Valentin V. Bartenev
November 12, 2012 04:32AM
Re: valid_referers directive not working correctly
justin
November 12, 2012 04:46AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 52
Record Number of Users: 5 on May 17, 2013
Record Number of Guests: 138 on May 16, 2013