<div dir="ltr"><div><div><div><div>Hello Maxim,<br><br></div>Thanks to reply on this .<br><br></div>If we have single cache path (directory) for multiple sites, is there some way to clear(purge) all cached pages for particular site?<br>
<br></div>Regards,<br></div>Makailol<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 6:26 PM, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<div><div class="h5"><br>
On Mon, Jan 20, 2014 at 02:14:26PM +0530, Makailol Charls wrote:<br>
<br>
> Hello,<br>
><br>
> I use Nginx/1.4.4 as a reverse proxy caching server for multiple sites. So<br>
> far I have been using same proxy_cache_path for all sites. Now I want to<br>
> use separate cache path for all sites.<br>
><br>
> Is there anyway to make proxy_cache_path dynamic i.e. using some variable<br>
> in proxy_cache_path like $host ?<br>
<br>
</div></div>No, proxy_cache_path must be known without a request for cache<br>
loader and cache manager to work. Therefore it's not possible to<br>
use variables in proxy_cache_path, you have to explicitly define<br>
all caches you want to use.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" target="_blank">http://nginx.org/</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</font></span></blockquote></div><br></div>