mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
7 lines
172 B
Plaintext
7 lines
172 B
Plaintext
etag {{ CLIENT_CACHE_ETAG }};
|
|
set $cache "";
|
|
if ($uri ~* \.({{ CLIENT_CACHE_EXTENSIONS }})$) {
|
|
set $cache "{{ CLIENT_CACHE_CONTROL }}";
|
|
}
|
|
add_header Cache-Control $cache;
|