ngx_http_upstream_keepalive
Maxim Dounin
mdounin at mdounin.ru
Mon Jan 26 22:40:39 MSK 2009
Hello!
On Mon, Jan 26, 2009 at 07:34:00PM +0100, Chavelle Vincent wrote:
> > More details here:
> >
> > http://mdounin.ru/hg/ngx_http_upstream_keepalive/raw-file/tip/README
> >
> > Mercurial repository may be found here:
> >
> > http://mdounin.ru/hg/ngx_http_upstream_keepalive
> >
> > Maxim Dounin
>
> Do you have a fully memcached example ? How can I call the memd location
> ?
> memcached_pass doesn't support upstream directive.
It does. Try something like this:
upstream memd {
server 127.0.0.1:11211;
keepalive 1;
}
server {
...
location / {
memcached_pass memd;
}
}
For more config examples you may try reading test code here:
http://mdounin.ru/hg/ngx_http_upstream_keepalive/file/tip/t/memcached-keepalive.t
Maxim Dounin
More information about the nginx
mailing list