I am using this config to try the url, if not found, try the same url under /_cache/ if not, use the router at index.php<br><br>    location / {<br>      try_files $uri /_cache$uri /index.php;<br>    } <br><br>I dont try the above for those kind of files, so I want to get a 404 when they are not founded.   <br>
<br>    location ~* \.(css|js|jpg|png|gif|swf|html?|txt|sql|doc|pdf|xls)$ {<br>    }<br><br><ul><li>Is there a better way to do the same?</li><li>how can I put the _cache folder outside webroot? Is it possible to serve files outside root folder?</li>
<li>this configuration will break my passenger routes?<br></li></ul><br><br clear="all">Marcos Neves<br>+55 44 9918-8488<br>