From 02bae04d012aca243bc0d42ff7ebc3f6a202b70e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: May 02 2024 22:19:47 +0000 Subject: varnish: try using the right syntatic sugar Signed-off-by: Kevin Fenzi --- diff --git a/roles/varnish/templates/proxies.vcl.j2 b/roles/varnish/templates/proxies.vcl.j2 index 7104385..104199d 100644 --- a/roles/varnish/templates/proxies.vcl.j2 +++ b/roles/varnish/templates/proxies.vcl.j2 @@ -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 %} } }