location /download/ {
deny all;
}
This rule would deny access to all files, but I only want to deny access
to ‘config’ file. Can modify this rule only deny ‘config’ file?
Order deny,allow
Deny from all
Thanks.
Igor S. Wrote:
I want to create an nginx rule, but I don’t
How to convert it to nginx rule?
This is was not obvious from your first message:
Sorry. I expresses my thoughts unarticulately.
location = /download/config {
deny all;
}
if include subdirectory, May I modify it to the following example?
location ~ /download/*/config {
deny all;
}
On Fri, Sep 25, 2009 at 09:36:16AM -0400, filebackup wrote:
Hi, Igor.
location /download/ {
deny all;
}
This rule would deny access to all files, but I only want to deny access to ‘config’ file. Can modify this rule only deny ‘config’ file?