Passing $upstream_response_time in a header

Francis Daly francis at daoine.org
Tue Mar 7 22:45:30 UTC 2017


On Tue, Mar 07, 2017 at 04:38:04PM -0500, Jonathan Simowitz via nginx wrote:

Hi there,

> I have an nginx server that runs as reverse proxy and I would like to pass
> the $upstream_response_time value in a header. I find that when I do the
> value is actually a linux timestamp with millisecond resolution instead of
> a value of seconds with millisecond resolution.

My reading of http://nginx.org/r/$upstream_response_time says that what
you report should not be happening.

Do you have a sample config / request / response which shows the problem?

Cheers,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list