Welcome! Log In Create A New Profile

Advanced

Re: srcache + mogilefs module

agentzh
April 22, 2012 11:42PM
On Sun, Apr 22, 2012 at 2:14 PM, haad <nginx-forum@nginx.us> wrote:
>
> So if I configure location with /mogstored and sets srcache_store there
> it should be working ?
>
> location ~ /mogstored_ {
>   srcache_store PUT /memc
> }
>

No, the /mogstored_spare_34991976/ location is automatically generated
by ngx_mogilefs. I'm not sure if it helps by putting your
srcache_store configuration into the "anonymous" location block under
the mogilefs_pass directive, i.e.,

mogilefs_pass {
proxy_pass $mogilefs_path;
proxy_hide_header Content-Type;
proxy_buffering off;
srcache_store PUT /memc;
}

But you can try it out anyway.

>> AFAIK, the ngx_eval module also does something
>> similar here (i.e.,
>> creating nested locations automatically).
>
> I'm not sure what you mean by this :) are you suggesting that
> I should use it ?
>

No.

I was just talking about the similarity in their implementations.

Regards,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

srcache + mogilefs module

haad April 20, 2012 04:16PM

Re: srcache + mogilefs module

agentzh April 21, 2012 12:46AM

Re: srcache + mogilefs module

haad April 21, 2012 05:49PM

Re: srcache + mogilefs module

agentzh April 21, 2012 11:32PM

Re: srcache + mogilefs module

haad April 22, 2012 02:14AM

Re: srcache + mogilefs module

agentzh April 22, 2012 11:42PM

Re: srcache + mogilefs module

haad April 23, 2012 06:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 249
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready