Welcome! Log In Create A New Profile

Advanced

memcached module unix sockets

Posted by bryanp 
memcached module unix sockets
August 25, 2009 10:21PM
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]
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
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