Purge whole cache zone

Maxim Dounin mdounin at mdounin.ru
Tue Jan 1 20:29:40 UTC 2013


Hello!

On Tue, Jan 01, 2013 at 09:39:32AM -0500, oleksandr-shb wrote:

> Sorry, folks my question is a duplicate of this thread
> http://forum.nginx.org/read.php?2,30833,32763#msg-32763 (solution). So, the
> solution is to remove cache folder and kill nginx processes. Not killing
> processes caused troubles with blank pages for me.
> # rm -rf /data/nginx/proxy_cache2 && killall -HUP nginx

Correct solution would be to remove all items (subdirectories 
and/or files) within the cache folder, not the cache folder 
itself.

-- 
Maxim Dounin
http://nginx.com/support.html



More information about the nginx mailing list