Forum: NGINX upload module "upload store" question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E82a73fbd02b7473fd1b93d4999fb16a?d=identicon&s=25 nginx.mailinglist (Guest)
on 2008-12-21 21: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
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
Abbd9d5312c5d54114a96a35dc94fdb1?d=identicon&s=25 Valery Kholodkov (Guest)
on 2008-12-21 22:12
(Received via mailing list)
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.
E82a73fbd02b7473fd1b93d4999fb16a?d=identicon&s=25 nginx.mailinglist (Guest)
on 2008-12-21 22:18
(Received via mailing list)
Ah i see
great stuff :)

thank you very much

Regards

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