You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
237 B
9 lines
237 B
![]()
5 years ago
|
map $is_cacheable $custom_expires {
|
||
|
default epoch;
|
||
|
1 7d;
|
||
|
}
|
||
|
map $is_cacheable $custom_cache_control {
|
||
|
default "no-cache, no-store, private";
|
||
|
1 "public, max-age=604800, must-revalidate, proxy-revalidate";
|
||
|
}
|