If I understand correctly, nginx doesn't do multiple conditions in an 'if' or nested if's. Based on some of the ideas being tossed around in this thread (http://www.webmasterworld.com/google/4537063-11-30.htm) I'd like to rewrite serve up a one pixel gif to whenever both of the two following conditions are met: 1) The http referer is http://www.google.*/blank.html(*) and then 2) the requested asset is a jpg What's the best performance way to handle that? * I suck at regex, so I just put the asterix there to signify catching any of the google country domains. Thanks for any suggestions.
on 2013-02-18 02:39
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.