nginx整合memcached

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

location @fallback {
    proxy_pass http://backserver;
}
    原文作者:EmptyBottl_520d
    原文地址: https://www.jianshu.com/p/46f2c1865c86
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞