Re: How to define dynamic proxy_cache_path directory.

2014-01-21 Thread Makailol Charls
Hello Maxim, Thanks to reply on this . If we have single cache path (directory) for multiple sites, is there some way to clear(purge) all cached pages for particular site? Regards, Makailol On Mon, Jan 20, 2014 at 6:26 PM, Maxim Dounin wrote: > Hello! > > On Mon, Jan 20, 2014 at 02:14:26PM +

Re: How to define dynamic proxy_cache_path directory.

2014-01-20 Thread Maxim Dounin
Hello! On Mon, Jan 20, 2014 at 02:14:26PM +0530, Makailol Charls wrote: > Hello, > > I use Nginx/1.4.4 as a reverse proxy caching server for multiple sites. So > far I have been using same proxy_cache_path for all sites. Now I want to > use separate cache path for all sites. > > Is there anyway

How to define dynamic proxy_cache_path directory.

2014-01-20 Thread Makailol Charls
Hello, I use Nginx/1.4.4 as a reverse proxy caching server for multiple sites. So far I have been using same proxy_cache_path for all sites. Now I want to use separate cache path for all sites. Is there anyway to make proxy_cache_path dynamic i.e. using some variable in proxy_cache_path like $hos