how can i use memcached_module

焦胜强 jiaosq at
Sun May 6 22:11:58 MSD 2007

    how can use the memcached_module in php?
    can someone give a example?
I can not understand this configfile:
        upstream   backend {
            server   localhost:80;
        location /memcached/ {
            ssi on;
            set     $memuri $uri;
            set     $memcached_key   "$memuri";
            memcached_pass  localhost:10000;
            error_page 404 =200 /memcached-miss$memuri;
        location /memcached-miss/ {
            ssi on;
            rewrite   ^/memcached-miss/(.*)$  /$1 break;
            proxy_set_header    Host             $host;
            proxy_set_header    X-Real-IP        $remote_addr;
            proxy_pass          http://backend;
            proxy_redirect      off;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list