Hello! On Mon, Apr 02, 2012 at 05:23:30AM -0400, shrinath.m wrote: > Hi, > > I would like to put a proxy_read_timeout and if it times out, I want to > do a specific action in php and return some response to the user. Is > this possible? How? http://nginx.org/r/error_page You have to handle 504 (Gateway Timeout) errors. Maxim Dounin