upload module "upload store" question
Valery Kholodkov
valery+nginxen at grid.net.ru
Mon Dec 22 00:03:32 MSK 2008
You missed that the number of characters in buckets is optional:
http://www.grid.net.ru/nginx/upload.en.html#upload_store
The manual says "The directory could be hashed". According to my English
skills "could" means, though possible, must not necessarily be.
In your case:
upload_store "/hdd1/_uploads";
should suffice for what you want to have.
nginx.mailinglist wrote:
> So i got upload module and upload progress module working after alot of
> sweat over the progress module configuration
>
> anyways just have a question about this directive "upload_store" i have
> in the conf file
>
> upload_store "/hdd1/_uploads" 1;
>
>
> i had to create 10 directories 0-9 in the above, is this really needed?
> possible for the temp directory just to be a single one? that would
> certainly reduce on the work required on some post upload tasks
>
> just wondering in case i missed something
>
> Regards
--
Regards,
Valery Kholodkov
More information about the nginx
mailing list