nginx-0.7.15

Igor Sysoev is at rambler-co.ru
Mon Sep 8 23:37:41 MSD 2008


On Mon, Sep 08, 2008 at 11:33:15PM +0400, Anton Yuzhaninov wrote:

> On 08.09.2008 22:40, mike wrote:
> >On Mon, Sep 8, 2008 at 1:40 AM, Igor Sysoev <is at rambler-co.ru> wrote:
> >
> >>Changes with nginx 0.7.15                                        08 Sep 
> >>2008
> >>
> >>   *) Feature: the ngx_http_random_index_module.
> >
> >What does this do?
> >
> 
> select random file from directory.

... as directory index. I.e. it works for /dir/ type requests only.
It does not handle /dir/page.html requests.

> Example:
> 
> location  /  {
>         root /path/to/dir_with_files;
>         random_index  on;
> }


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list