Nginx static file deletion

Ensiferous nginx-forum at
Fri Jul 22 13:43:41 UTC 2011


I think you have misunderstood the purpose of the proxy_cache_path. This
is the path where you want the cached files to be saved to, not the path
of the files to be cached. The files to be cached will come from your
upstream you reach via proxy_pass.

You cannot use proxy cache with static files. (Besides, your OS will
handle caching frequently accessed files)

Posted at Nginx Forum:,212783,212808#msg-212808

More information about the nginx mailing list