Proxy_cache_path levels


#1

Hi,

I’m trying to understand how proxy_cache_path levels works, but any
changes I made to levels=1:2 will not be accepted bu nginx.
What are levels for and how can I use it??
Are the values 1:2 the only ones that can be used?

Thanks

N.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,2450,2450#msg-2450


#2

On Thu, May 28, 2009 at 06:21:01AM -0400, nfn wrote:

Hi,

I’m trying to understand how proxy_cache_path levels works, but any changes I made to levels=1:2 will not be accepted bu nginx.
What are levels for and how can I use it??
Are the values 1:2 the only ones that can be used?

You may use any combination of 1 and 2 in these formats: X, X:X, and
X:X:X,
e.g.: “2”, “2:2”, “1:1:2”.


#3

Thanks for you explanation Igor

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,2450,2464#msg-2464