I setup the memcached server using -s to a local socket. I also setup the memcached nginx module to point at the socket. I have confirmed the HTML is present using the key, but the module is not returning the value. I am thinking it is because unix sockets are not implemented. Is that true? See my code below:
[code]
location / {
try_files @memcached @django;
}
location @memcached {
set $memcached_key ngx$request_uri;
memcached_pass unix:/Users/auser/memcached.sock;
default_type text/html;
}
location @django {
proxy_pass http://127.0.0.1:8000;
}
[/code]