Welcome! Log In Create A New Profile

Advanced

Re: Reverse Proxy with caching

Rafa Pedroche
April 27, 2010 06:40PM
Maxim Dounin wrote:
> Hello!
>
> On Mon, Oct 19, 2009 at 06:06:25PM -0400, avery wrote:
>
>> I am also trying to get the caching to work. Whenever I use the proxy_cache_path or proxy_cache directive I get this error when starting nginx and it fails to start- unknown directive "proxy_cache" - unknown directive "proxy_cache_path". Anyone know what I'm doing wrong? I am using Ubuntu 9.04 and installed NGINX from the repos.
>
> Cache support first appeared in nginx 0.7.45. Ubuntu 9.04 seems
> to have 0.6.35 in the package list.
>
> Maxim Dounin

Hi, I have a similar error with version 0.8.36...

[emerg]: unknown directive "proxy_cache_path" in
/usr/local/nginx/nginx.conf:33

The line is the following:

proxy_cache_path /var/lib/nginx/cache levels=1:2
keys_zone=staticfilecache:180m max_size=500m;

what's wrong? thank you

(nginx -v --> nginx version: nginx/0.8.36)

--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Reverse Proxy with caching

Smrchy October 15, 2009 09:24AM

Re: Reverse Proxy with caching

任晓磊 October 15, 2009 09:46AM

Re: Reverse Proxy with caching

Igor Sysoev October 15, 2009 10:28AM

Re: Reverse Proxy with caching

Johan Bergström October 15, 2009 10:46AM

Re: Reverse Proxy with caching

Smrchy October 15, 2009 11:42AM

Re: Reverse Proxy with caching

infestdead October 30, 2009 06:59AM

Re: Reverse Proxy with caching

infestdead October 30, 2009 07:08AM

Re: Reverse Proxy with caching

Igor Sysoev October 30, 2009 07:16AM

Re: Reverse Proxy with caching

ridres83 October 16, 2009 01:20PM

Re: Reverse Proxy with caching

avery October 19, 2009 06:06PM

Re: Reverse Proxy with caching

Maxim Dounin October 19, 2009 06:58PM

Re: Reverse Proxy with caching

Rafa Pedroche April 27, 2010 06:40PM

Re: Reverse Proxy with caching

Rafa Pedroche April 28, 2010 03:16AM

Re: Reverse Proxy with caching

nfn October 22, 2009 01:26PM

Re: Reverse Proxy with caching

avery October 22, 2009 04:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 282
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready