mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
11
roles/nginx/templates/ansible_conf.d/10-cache.conf.j2
Normal file
11
roles/nginx/templates/ansible_conf.d/10-cache.conf.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
|
||||
map $is_cacheable $no_cache {
|
||||
default 1;
|
||||
1 0;
|
||||
}
|
Reference in New Issue
Block a user