how to match these urls?

kevin kevincastiglione at
Sat Aug 14 06:43:58 MSD 2010

requests like these are hitting my server, and i want to catch these
requests, and return 'not found' from nginx. i dont want it to hit my
fastcgi backend.

[13/Aug/2010:19:39:26 -0700]  "POST /%5C%22http:%5C/%5C/
HTTP/1.1" 404 103 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5;
en-US; rv: Gecko/20100722 Firefox/3.6.8" 0.087 US

how do i match requests with url starting like this:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list