nginx and memcached
Istvan Szukacs
leccine at gmail.com
Sun Jul 20 21:45:56 MSD 2008
Hi folks!
I try to use nginx with memcached with less success, maybe this is just
a well known issue but i did not find anything in google:
config:
location / {
set $memcached_key $uri;
memcached_pass 127.1.0.1:11212;
default_type text/html;
error_page 404 = /fallback;
location = /fallback {
root /usr/local/www/nginx-dist/;
index index.html index.htm;
}
}
error log in debug mode:
2008/07/20 13:52:43 [error] 73685#0: *5 memcached sent invalid response:
"marugoto_end" while reading response header from upstream, client:
xx.xx.116.179, server: zen.xx.xx.hu, request: "GET / HTTP/1.1",
upstream: "memcached://127.1.0.1:11212", host: "zen.xx.xx.hu"
test:
# nc -v 127.1.0.1 11212
Connection to 127.1.0.1 11212 port [tcp/*] succeeded!
marugoto_end
any suggestion?
thanx in advance
lix
More information about the nginx
mailing list