wildcards in valid_referers

Ian M. Evans ianevans at digitalhit.com
Tue Nov 27 08:53:53 MSK 2007

I just updated my nginx from the 4.x series and noticed that a line in 
my config was causing errors.

One of the domains in my old valid_referers line was *.google.* to catch 
all the variations (like images.google.com and all the national variants 
like .ca, .co.uk, etc.

The 5.X series nginx doesn't seem to like that line. How should I change 
it to make sure it catches all the google variants so I can exempt them 
from my hotlinking check?

Ian Evans

More information about the nginx mailing list