Nginx modules

Df As lists at
Mon Feb 16 08:31:35 MSK 2009


I am new to this platform, i want to configure nginx to my site.

For example, my domain name is ¨¨ I want to block access to the
site with the incorrect values. I am getting incorrect values from
¨¨. I want to block those who are all sending incorrect values
from ¨¨.

I got this solution

location /photos/ {
         valid_referers   none  blocked;

         if ($invalid_referer) {
             return   403;

I want to know whether i have to specify my domain or invalid referer


I have to specify like this

 valid_referers   none  blocked;


 valid_referers   none  blocked;

Please help me
Posted via

More information about the nginx mailing list