From 6589d38032368c3412c4f149ccb7c1128f0c2549 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: May 02 2024 22:21:55 +0000 Subject: varnish: this should be a string comparison Signed-off-by: Kevin Fenzi --- diff --git a/roles/varnish/templates/proxies.vcl.j2 b/roles/varnish/templates/proxies.vcl.j2 index 104199d..a7ee161 100644 --- a/roles/varnish/templates/proxies.vcl.j2 +++ b/roles/varnish/templates/proxies.vcl.j2 @@ -21,7 +21,7 @@ backend mailman { .url = "/"; .interval = 5s; .timeout = 5s; -{% if env != staging %} +{% if env != 'staging' %} .expected_response = 301; {% else %} .expected_response = 302;