From 80366bda57a84f9f349846da35d4d0849f864d1a Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Jun 27 2024 14:29:22 +0000 Subject: [varnish] Fix the lists.fedoraproject.org The lists are now returning 302 instead of 301. I forgot to change that in varnish. Signed-off-by: Michal Konecny --- diff --git a/roles/varnish/templates/proxies.vcl.j2 b/roles/varnish/templates/proxies.vcl.j2 index a7ee161..8a9674f 100644 --- a/roles/varnish/templates/proxies.vcl.j2 +++ b/roles/varnish/templates/proxies.vcl.j2 @@ -21,11 +21,7 @@ backend mailman { .url = "/"; .interval = 5s; .timeout = 5s; -{% if env != 'staging' %} - .expected_response = 301; -{% else %} .expected_response = 302; -{% endif %} } }