Welcome! Log In Create A New Profile

Advanced

Re: Nginx static file deletion

July 22, 2011 09:43AM
Hi,

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)
Subject Author Posted

Nginx static file deletion

Steve Zhuo July 21, 2011 11:04PM

Re: Nginx static file deletion

Ensiferous July 22, 2011 09:43AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 322
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready