1
0
Files
angie-conv-image/angie/conf/fastcgi/cache-bypass.conf.j2
2025-06-05 11:01:19 +03:00

14 lines
316 B
Django/Jinja

{%- set cache_bypass = j2cfg.cache_bypass or [] -%}
{%- if cache_bypass -%}
## disable (response) cache under following conditions
fastcgi_cache_bypass
{%- for v in cache_bypass %}
{{ v | ngx_esc }}
{%- endfor %}
;
fastcgi_no_cache
{%- for v in cache_bypass %}
{{ v | ngx_esc }}
{%- endfor %}
;
{%- endif -%}