nginx: [emerg] the size 10485760 of shared memory zone "cache_one" conflicts with already declared size 0

注意配置段中的区域包含关系.
proxy_cache_patch 要在proxy_cache前已经定义.

what seems to be the problem?

[emerg]: the size 52428800 of shared memory zone "media" conflicts with
already declared size 0 in /etc/nginx/conf.d/cache.conf:5
configuration file /etc/nginx/nginx.conf test failed

This may be caused if "proxy_cache media" is included before proxy_cache_path.

posted @ 2014-04-27 17:55  nil  阅读(5577)  评论(0编辑  收藏  举报