nginx和memcached整合

        location / {
                set $memcached_key $uri;
                memcached_pass 127.0.0.1:11211;
                default_type text/html;
                error_page 404 @fallback;
        }
        location @fallback {
                index 404.html;
}

你可能感兴趣的:(nginx和memcached整合)