ansible-roles/roles/nginx/templates/ansible_conf.d/10-perf.conf.j2

9 lines
251 B
Django/Jinja

map $is_client_cacheable $custom_expires {
default epoch;
1 7d;
}
map $is_client_cacheable $custom_cache_control {
default "no-cache, no-store, private";
1 "public, max-age=604800, must-revalidate, proxy-revalidate";
}