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



On Wed, Jun 16, 2010 at 12:14:22PM +0400, Anton Kiryushkin wrote:

>   ,  ?

,  nginx    :   - :

test location: "/"
test location: ~ "/$"
using configuration ~ "/$"

  "nginx -t" ?

> 2010/6/16 bas <bas@xxxxxxxxxxx>:
> > 2010/6/16 Anton Kiryushkin <swood@xxxxxxxxxxx>
> >>
> >>   .
> >>     .
> >>  :
> >>
> >> 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@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

-- 
 
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.