bunkerized-nginx/src/common/core/clientcache/confs/server-http/client-cache.conf
2023-09-29 18:11:48 +01:00

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 %}