https://bugzilla.wikimedia.org/show_bug.cgi?id=60488

--- Comment #3 from Bryan Davis <bda...@wikimedia.org> ---
I think there are two possible solutions to this:

1. Send a Cache-Control header along with the 301 response to keep Varnish from
caching the redirect
2. Add the X-Forwarded-Proto header to the hash inside Varnish

    sub vcl_hash {
      if (req.http.X-Forwarded-Proto) {
        set req.hash += req.http.X-Forwarded-Proto;
      }
    }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to