mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
9 lines
228 B
Plaintext
9 lines
228 B
Plaintext
{% if USE_CLIENT_CACHE == "yes" +%}
|
|
add_header Cache-Control $cache_control;
|
|
{% if CLIENT_CACHE_ETAG == "yes" and SERVE_FILES == "yes" and USE_REVERSE_PROXY == "no" +%}
|
|
etag on;
|
|
{% else +%}
|
|
etag off;
|
|
{% endif +%}
|
|
{% endif %}
|