Forum: NGINX upload module "upload store" question

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
nginx.mailinglist (Guest)
on 2008-12-21 22:55
(Received via mailing list)
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
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

Valery K. (Guest)
on 2008-12-21 23:12
(Received via mailing list)
You missed that the number of characters in buckets is optional:

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 (Guest)
on 2008-12-21 23:18
(Received via mailing list)
Ah i see
great stuff :)

thank you very much


On Sun, Dec 21, 2008 at 9:03 PM, Valery K. <
This topic is locked and can not be replied to.