[varnish] Update the expected response for new mailman deployment
New mailman staging deployment is giving 302 as a default response instead of 301. Let's reflect that in varnish config. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
b9f50bbcd2
commit
563eb6658a
1 changed files with 4 additions and 0 deletions
|
@ -21,7 +21,11 @@ backend mailman {
|
|||
.url = "/";
|
||||
.interval = 5s;
|
||||
.timeout = 5s;
|
||||
{{ if env != staging }}
|
||||
.expected_response = 301;
|
||||
{{ else }}
|
||||
.expected_response = 302;
|
||||
{{ endif }}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue