srcache + mogilefs module

haad nginx-forum at nginx.us
Mon Apr 23 10:58:20 UTC 2012


agentzh Wrote:
-------------------------------------------------------
> On Sun, Apr 22, 2012 at 2:14 PM, haad
> <nginx-forum at 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.

This works ! thanks a lot for your time/help.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,225568,225651#msg-225651



More information about the nginx mailing list