disable_cache_recv.html.twig in Fastly 8.3
{% for rule in rules %} {% if rule.mode in ['both','fastly'] %} if (req.url ~ "{{ rule.pattern }}") { set req.http.x-pass = "1"; } {% endif %} {% endfor %}
File
fastly_edge_modules/templates/disable_cache_recv.html.twigView source
- {% for rule in rules %}
- {% if rule.mode in ['both','fastly'] %}
- if (req.url ~ "{{ rule.pattern }}") {
- set req.http.x-pass = "1";
- }
- {% endif %}
- {% endfor %}