How to catch a request that has a given word in url?

Fernando Perez lists at
Mon Aug 9 13:59:02 MSD 2010

I'll use actual values:

A public request looks like:


An a restricted request looks like:


So I have:

location ~ /restricted/ {
  root ...;

location ^~ /uploads/ {
  root ...;

Is it my /uploads/ location which fits maybe better the request and 
confuses nginx?
Posted via

More information about the nginx mailing list