How to start off this rule?
Igor Sysoev
is at rambler-co.ru
Fri Sep 25 10:11:42 MSD 2009
On Fri, Sep 25, 2009 at 10:03:15AM +0800, Ray wrote:
> You use the deny directive
> http://wiki.nginx.org/NginxHttpAccessModule#deny
>
> location / {
- location / {
+ location /download/ {
> deny all;
> }
>
>
> Ray
>
> On Fri, Sep 25, 2009 at 9:48 AM, filebackup <nginx-forum at nginx.us> wrote:
>
> > Hi.
> > I want to create an nginx rule, but I don't known how to start off. Please
> > help me. Thanks.
> >
> > the .htaccess file is in the /download/ directory, and the rule is
> >
> > Order deny,allow
> > Deny from all
> >
> >
> > How to convert it to nginx rule?
> >
> > Regards.
> >
> > Posted at Nginx Forum:
> > http://forum.nginx.org/read.php?2,9118,9118#msg-9118
> >
> >
> >
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list