varnish: try using the right syntatic sugar

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-05-02 15:19:47 -07:00
parent 20ed4343b3
commit 02bae04d01

View file

@ -21,11 +21,11 @@ backend mailman {
.url = "/";
.interval = 5s;
.timeout = 5s;
{{ if env != staging }}
{% if env != staging %}
.expected_response = 301;
{{ else }}
{% else %}
.expected_response = 302;
{{ endif }}
{% endif %}
}
}