varnish: try using the right syntatic sugar
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
20ed4343b3
commit
02bae04d01
1 changed files with 3 additions and 3 deletions
|
@ -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 %}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue