How to set up cache in nginx settings
phpcn_u1582
phpcn_u1582 2017-05-16 17:09:31
0
1
1613

Configuration file proxy_cache cache_one
Where is the cache of cache_one?
If the local machine is set to draw, how to set it, how to create this cache, how to find the cache location
Linux prompts
nginx : [emerg] "proxy_cache" zone "cache_one" is unknown in /etc/nginx/nginx.conf:105

phpcn_u1582
phpcn_u1582

reply all(1)
过去多啦不再A梦

at http下面
proxy_cache_path 路径 keys_zone=名字:最大占用空间
例如
proxy_cache_path /data/nginx/cache keys_zone=cache_one:100m

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!