> rm -rf /data/nginx/proxy_cache2
> Doesn't that will affect nginx keep creating the cache? I mean doesn't
> that
> stop proxy cache working since directory doesn't existed?
No, it won't, because nginx will re-create directory when needed. This could
potentialy disrupt work of cache helpers (cache manager & cache loader), so
just to be on the safe side you could run this instead:
# rm -rf /data/nginx/proxy_cache2 && killall -HUP nginx
Best regards,
Piotr Sikora < piotr.sikora@frickle.com >
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx