nginx-0.7.15

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


On Mon, Sep 08, 2008 at 12:38:12PM -0700, mike wrote:

> On Mon, Sep 8, 2008 at 12:33 PM, Anton Yuzhaninov <citrin at citrin.ru> wrote:
> 
> > select random file from directory.
> >
> > Example:
> >
> > location  /  {
> >        root /path/to/dir_with_files;
> >        random_index  on;
> > }
> 
> Can it be any filename? or does it have to be prefixed with "index"?

Any file.

> Does it have a maximum amount of files it can handle?

No, there is no limit.


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





More information about the nginx mailing list