1
0
angie-conv-image/angie/conf.dist/fastcgi/cache-bypass.conf.j2

14 lines
316 B
Plaintext
Raw Normal View History

2024-09-17 14:11:00 +03:00
{%- 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 }}
2024-09-17 14:11:00 +03:00
{%- endfor %}
;
fastcgi_no_cache
{%- for v in cache_bypass %}
{{ v | ngx_esc }}
2024-09-17 14:11:00 +03:00
{%- endfor %}
;
{%- endif -%}