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