Saturday 15 May 2010

How do I redirect all requests that contains a certain string to 404 in nginx? -


I want to return all the requests to the URL in which the string histats 404 for how can I do this?

  location ~ histatus {return 404; }   

PS:

No comments:

Post a Comment