Max File Size Allowed In Cache

abstein2 nginx-forum at nginx.us
Mon Sep 15 19:21:26 UTC 2014


Is there any way to limit the maximum size of an individual object in a
proxy cache? Looking through the documentation (
http://nginx.org/en/docs/http/ngx_http_proxy_module.html ) I'm not seeing
anything directly related to that.

I might be misunderstanding the proxy_temp_file_write_size or
proxy_max_temp_file_size commands, but outside of limiting the entire cache
size with proxy_cache_path, I'm not seeing anything that says "this is the
maximum size of an individual file that can sit in cache".

Thanks!

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253260,253260#msg-253260



More information about the nginx mailing list