Welcome! Log In Create A New Profile

Advanced

Re: Re[4]: upload + fastcgi = cache?

Valery Kholodkov
November 12, 2009 10:42AM
----- wasiliy <nginx-forum@nginx.us> wrote:
> я. оказалось проблема была совсем в другом :)
> всем спасибо.
>
> теперь еще вопрос - как можно динамически менять upload_store?
> например есть 3 папки в которые надо сохранять аплоады (а каждая папка соответственно подмаунтеный винт)
>
> /all/1
> /all/2
> /all/3
>
> как в зависимости от заполненности каждой из них менять upload_store?

Никак. Алгоритм распределения файлов по папкам в nginx оптимизирован в облась простоты.

Более тонкую балансировку файлов по папкам должно выполнять внешнее приложение.

> например модулем eval можно было бы получать нужную папку, но в upload_store нельзя использовать переменную
>
> когда пытаюсь задать через "хеш" в виде upload_store /all 1 2 3; nginx ругается

В этом случае nginx ожидает дерево с папками с /all/0/00/000 по /all/9/99/999.

--
Regards,
Valery Kholodkov
Subject Author Posted

upload + fastcgi = cache?

wasiliy November 09, 2009 04:35PM

Re: upload + fastcgi = cache?

Andrey Zloy November 09, 2009 05:28PM

Re: upload + fastcgi = cache?

wasiliy November 09, 2009 05:33PM

Re: upload + fastcgi = cache?

Dmitry Dedukhin November 10, 2009 03:58AM

Re: upload + fastcgi = cache?

wasiliy November 10, 2009 06:09AM

Re: upload + fastcgi = cache?

Dmitry Dedukhin November 10, 2009 06:40AM

Re[2]: upload + fastcgi = cache?

Sergey Bondari November 10, 2009 07:32AM

Re: Re[2]: upload + fastcgi = cache?

wasiliy November 10, 2009 08:26AM

Re[4]: upload + fastcgi = cache?

Sergey Bondari November 10, 2009 09:08AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 10, 2009 10:40AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 07:14AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 07:31AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 08:04AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 08:18AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 12, 2009 12:56PM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 13, 2009 03:30AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 13, 2009 03:40AM

Re: Re[4]: upload + fastcgi = cache?

Valery Kholodkov November 11, 2009 06:16AM

Re: Re[4]: upload + fastcgi = cache?

Alexandr Kutuzov November 11, 2009 06:42AM

Re[6]: upload + fastcgi = cache?

Sergey Bondari November 11, 2009 06:46AM

Re: Re[4]: upload + fastcgi = cache?

Alexandr Kutuzov November 11, 2009 08:24AM

Re: Re[4]: upload + fastcgi = cache?

Valery Kholodkov November 11, 2009 09:22AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 11, 2009 11:35AM

Re: Re[4]: upload + fastcgi = cache?

Valery Kholodkov November 12, 2009 10:42AM

Re: Re[4]: upload + fastcgi = cache?

Alexandr Kutuzov November 13, 2009 04:42AM

Re: Re[4]: upload + fastcgi = cache?

wasiliy November 13, 2009 06:16AM

Re: Re[4]: upload + fastcgi = cache?

Alexandr Kutuzov November 13, 2009 06:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 113
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready