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.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM