Subtracting $upstream_response_time from $request_time does not reveal a single hidden NGINX phase. The two clocks have different boundaries. Request time follows the client-facing lifetime that NGINX records, while upstream timers describe one or more proxy attempts. Time can accumulate before NGINX sends a buffered request upstream, inside ...