Comments

Gravatar

How about this:

For valid_referers use all ip addresses associated with that web server.

location /modules/ {
validreferers 10.0.0.10 10.0.0.11;
if ($invalid
referer) {

  return 403;

}
}

Reply

The content of this field is kept private and will not be shown publicly.

More information about formatting options