Re: autoindex

Anton Kiryushkin swood fotofor.biz
16 12:14:22 MSD 2010


  ,  ?

2010/6/16 bas <bas at it-core.org>:
> 2010/6/16 Anton Kiryushkin <swood at fotofor.biz>
>>
>>   .
>>     .
>>  :
>>
>> server {
>>    listen 192.168.77.1:80;
>>    server_name local.ru;
>>    error_log /var/log/nginx/local_nginx.error.log debug;
>>    root /tmp ;
>>
>>    location ~ /$ {
>>      allow 192.168.77.64;
>>      deny all;
>>      root /tmp/;
>>      autoindex on;
>>      autoindex_exact_size on;
>>    }
>>    location / {
>>        autoindex off;
>>        root /tmp/;
>>    }
>>
>>  }
>>
>>     192.168.77.64  192.168.77.1   403-
>> .    .
>>       ?
>
>     .
> http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#location
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>
>



-- 
Best regards,
Anton Kiryushkin,


nginx-ru