Hi,<br>this is probably a noob question but i&#39;m wondering what would be the best way to <br><br>allow access to a directory e.g.:<br><br>location /foo {<br>   ...<br>}<br><br>this will allow access to<br><br>/foo<br>/foo/bar<br>
/foo/bar/somefile.txt<br><br>But now i want to deny access to everything starting with /foo/_<br><br>/foo/_<br><br>so for example<br><br>/foo/_users<br>/foo/_secrets/something.htm<br>etc. <br><br>those should not be accessible.<br>
What is the most efficient way to do this?<br>Thx<br>Patrick<br>