Welcome! Log In Create A New Profile

Advanced

Re: Reverse Proxy with caching

Rafa Pedroche
April 28, 2010 03:16AM
Rafa Pedroche wrote:

> 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)

Solved: the problem only appears if all the configuration is in the
nginx.conf. Using "include files" works ok. My mistate, I thought both
solution are equivalent.
--
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: 250
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