What is wrong in having configured:

proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=one:10m;
proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=two:10m;

each stanza loaded from a different .conf file (from the conf.d, included
by nginx.conf)?

It ends up with:
[emerg] the same path name "/data/nginx/cache" used in
/etc/nginx/conf.d/foo.conf:1 and in /etc/nginx/conf.d/bar.conf:1

Should not the fact of having different keys_zone be enough?
---
*B. R.*
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to