nginx proxy_read_timeout behaviour

Solution 1:

Read the docs carefully:

The timeout is set only between two successive read operations, not for the transmission of the whole response. If the proxied server does not transmit anything within this time, the connection is closed.

So any acknowledge for the received packet of data from the upstream will reset the proxy_read_timeout timer.