$proxy_add_x_forwarded_for;
proxy_cache one;
proxy_cache_valid 200 30d;
proxy_cache_valid any 1h;
}
}
When run /usr/local/nginx-0.7.60/sbin/nginx
it showed:
emerg]: “proxy_cache_path” directive is not allowed here in
/usr/local/nginx-0.7.60/conf/nginx.conf:35
On Thu, Jun 18, 2009 at 01:46:18PM +0800, XUFENG wrote:
proxy_cache_valid any 1h;
}
}
When run /usr/local/nginx-0.7.60/sbin/nginx
it showed:
emerg]: “proxy_cache_path” directive is not allowed here in /usr/local/nginx-0.7.60/conf/nginx.conf:35
what is wrong?
proxy_cache_path can be set on http {} level only.
å‘件人:Igor S.
å‘逿—¥æœŸï¼š2009-06-18 14:11:35
收件人:nginx
抄é€ï¼š
主题:Re: emerg]: “proxy_cache_path” directive is not allowed here in
/usr/local/nginx-0.7.60/conf/nginx.conf:35
On Thu, Jun 18, 2009 at 01:46:18PM +0800, XUFENG wrote:
proxy_cache_valid any 1h;
}
}
When run /usr/local/nginx-0.7.60/sbin/nginx
it showed:
emerg]: “proxy_cache_path” directive is not allowed here in /usr/local/nginx-0.7.60/conf/nginx.conf:35
what is wrong?
proxy_cache_path can be set on http {} level only.