Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoindex



,     .   -  :
location = / {

}
?

2010/5/26 Igor Sysoev <igor@xxxxxxxxx>:
> On Wed, May 26, 2010 at 07:07:43PM +0400, Anton Kiryushkin wrote:
>
>>   -   ,   - .
>>     autoindex.
>>      ,     .
>>      :
>>   location / {
>>       root  /path/to/folder;
>>       autoindex off;
>>   }
>>
>>   location /sec_folder {
>>     alias /path/to/folder;
>>     autoindex on;
>>     autoindex_exact_size on;
>>     allow XX.XXX.XXX.XX/XX;
>>     deny all;
>>   }
>>
>>   ,         
>>     sec_folder,    .
>>     ,       .
>>  -     .
>
>   location = / {
>     allow XX.XXX.XXX.XX/XX;
>     deny all;
>     root  /path/to/folder;
>     autoindex on;
>     autoindex_exact_size on;
>   }
>
>   location / {
>     root  /path/to/folder;
>   }
>
>
> --
>  
> http://sysoev.ru
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://nginx.org/mailman/listinfo/nginx-ru
>



-- 
Best regards,
Anton Kiryushkin,
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.