代理caching区静态是未知的

我正在设置一个反向代理caching。 在nginx.conf中添加了以下内容:

location /blog { # Reverse Proxy # Cache the Blog Pages from Heroku proxy_cache STATIC; proxy_cache_valid 200 10m; proxy_cache_valid 404 1m; proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504; rewrite ^/blog$ /; rewrite ^/blog/(.*)$ /$1; proxy_pass http://whispering-retreat-1.herokuapp.com; break; } 

但是,当试图重新启动nginx我收到以下错误:

 $ /opt/nginx/sbin/nginx -s stop nginx: [emerg] "proxy_cache" zone "STATIC" is unknown in /opt/nginx/conf/nginx.conf:182 

任何想法是什么问题是使用STATIC? 我只是想caching博客页面,所以每次都不会触及heroku,速度非常慢。

谢谢

“proxy_cache”区域“STATIC”未知

意思是你忘了configuration它。 http://nginx.org/r/proxy_cache_path