Also fix varnish to understand qa.stg

This commit is contained in:
Kevin Fenzi 2016-04-26 22:30:53 +00:00
parent 7ee9b3093f
commit e802d4d1ea

View file

@ -265,7 +265,7 @@ sub vcl_recv {
set req.url = regsub(req.url, "\?.*", "");
}
}
if (req.http.X-Forwarded-Server ~ "^qa.fedoraproject.org") {
if (req.http.X-Forwarded-Server ~ "^qa.fedoraproject.org" || req.http.X-Forwarded-Server ~ "^qa.stg.fedoraproject.org") {
if (req.url ~ "^/blockerbugs") {
set req.backend_hint = blockerbugs;
if (req.url ~ "^/blockerbugs/static/") {