File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
## Cf. http://forum.nginx.org/read.php?21,213197,213209#msg-213209 for
9
9
## rationale. If you're using a Nginx version lower than 1.1.1 then
10
10
## comment the line below and use the cache zone configuration below this one.
11
- fastcgi_cache_path /var/cache/nginx/microcache levels=1:2 keys_zone=microcache:5M max_size=1G loader_threshold=2592000000 loader_sleep=1 loader_files=100000;
11
+ fastcgi_cache_path /var/cache/nginx/microcache levels=1:2 keys_zone=microcache:5M max_size=1G inactive=2h loader_threshold=2592000000 loader_sleep=1 loader_files=100000;
12
12
13
13
## If you're not using a Nginx version greater or equal to 1.1.1 then
14
14
## comment the above configuration and use this one. No cache loader
15
15
## tweaking.
16
- #fastcgi_cache_path /var/cache/nginx/microcache levels=1:2 keys_zone=microcache:5M max_size=1G;
16
+ #fastcgi_cache_path /var/cache/nginx/microcache levels=1:2 keys_zone=microcache:5M max_size=1G inactive=2h ;
You can’t perform that action at this time.
0 commit comments