A problem with

baalchina baalchina at gmail.com
Sun Jun 15 13:35:06 MSD 2008

Hello everyone, I have a problem with anti leech config

my config file, like this:

        location / {
                valid_referers   none  blocked  bbs.mysite.com *.mysite.com;
                 if ($invalid_referer) {
                        return   403;

It works good, but I have a problem. When I search my site in google, click
the site url, the browser returns a 403 error. I must press refresh, then
the site shows.

I think the problem is with anti leech config, so, how can I change the
setting? I just want to protect my images or mp3s.

Thanks very much~

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080615/5dfeea1d/attachment.html>

More information about the nginx mailing list