Welcome! Log In Create A New Profile

Advanced

max file size for proxy_cache_path

October 01, 2012 03:52PM
Hi.
Is there any way to limit size of file, that can be cached into
proxy_cache_path?

For example, we have:
proxy_cache_path /var/nginx/cache/html levels=1:2
keys_zone=html-cache:18m max_size=5g inactive=60m;

So, if someone on backend will place a 2G file, and it will be cached,
the big part of useful cached data will be destroyed by cache manager.
And second problem - we can't be sure, that proxy_temp_path and
proxy_cache_path will not be overflowed.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

max file size for proxy_cache_path

Priority1 October 01, 2012 03:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
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