Is it possible to have each server{} block write to it's own cache directory? Or otherwise identify cached pages by server{} block?<div><br></div><div>The aim is to make it easy to clear all cached pages for a specific site on a box hosting multiple sites.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 1 January 2013 20:29, 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 class="im"><br>
On Tue, Jan 01, 2013 at 09:39:32AM -0500, oleksandr-shb wrote:<br>
<br>
> Sorry, folks my question is a duplicate of this thread<br>
> <a href="http://forum.nginx.org/read.php?2,30833,32763#msg-32763" target="_blank">http://forum.nginx.org/read.php?2,30833,32763#msg-32763</a> (solution). So, the<br>
> solution is to remove cache folder and kill nginx processes. Not killing<br>
> processes caused troubles with blank pages for me.<br>
> # rm -rf /data/nginx/proxy_cache2 && killall -HUP nginx<br>
<br>
</div>Correct solution would be to remove all items (subdirectories<br>
and/or files) within the cache folder, not the cache folder<br>
itself.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.com/support.html" target="_blank">http://nginx.com/support.html</a><br>
</font></span><div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>