xin

proxy_cache_path

Defines a disk-cache directory and zone.

Syntaxproxy_cache_path path [levels=levels] keys_zone=name:size [inactive=time] [max_size=size];
Contextshttp

Behavior

The directory must be usable by the serving process.

Example

proxy_cache_path /var/cache/xin/proxy levels=1:2 keys_zone=responses:10m max_size=1g;