proxyUpstream answers 502 when an upstream replies with a 3xx Location and the upstream URL holds a query the client did not send. Targets without a configured query still relay redirects.