2021-12-01 19:13:34 +01:00
|
|
|
proxy_cache_path /var/cache/nginx
|
|
|
|
levels=1:2
|
|
|
|
keys_zone=cache_std:5m
|
|
|
|
max_size={{ nginx_cache_size }}
|
|
|
|
inactive=300m
|
|
|
|
use_temp_path=off;
|
|
|
|
|
2022-02-09 14:00:12 +01:00
|
|
|
map $is_proxy_cacheable $no_cache {
|
2021-12-01 19:13:34 +01:00
|
|
|
default 1;
|
|
|
|
1 0;
|
|
|
|
}
|