nginx proxy_cache_path中levels的含义
Thelevels
parameter defines hierarchy levels of a cache: from 1 to 3, each level accepts values 1 or 2. For example, in the following configuration
proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
eg:
/data/nginx/cache/c/29/b7f54b2df7773722d382f4809d65029c
levels可以设置 1到3层 每层有1和2两个值。 表示目录名称是1个字符还是2个字符
标题:nginx proxy_cache_path中levels的含义
作者:hugh0524
地址:https://blog.uproject.cn/articles/2017/06/06/1496719746571.html
0 0