Difference between timeout/proxy_timeout

hello,

what’s the difference between timeout and proxy_timeout directives for
mail ?
from the documentation, what i can tell is that timeout is the
inactivity timer between downstream client and nginx

whereas proxy_timeout is the inactivity timer between nginx and upstream
server

what about when the proxy connection is established (i.e. route lookup
has taken place and the user has logged in) ?
which timer of these two is in force then ?

thanks
mansoor

On Mon, Sep 08, 2008 at 12:28:42AM -0700, Mansoor P. wrote:

what’s the difference between timeout and proxy_timeout directives for mail ?
from the documentation, what i can tell is that timeout is the inactivity timer between downstream client and nginx

whereas proxy_timeout is the inactivity timer between nginx and upstream server

what about when the proxy connection is established (i.e. route lookup has taken place and the user has logged in) ?
which timer of these two is in force then ?

After proxy connection is established, nginx uses proxy_timeout between
nginx and upstream only. There is no timeout settings between client
and nginx at all.

Thanks Igor !

----- Original Message -----
From: “Igor S.” [email protected]
To: [email protected]
Sent: Monday, September 8, 2008 1:40:51 PM GMT +05:30 Chennai, Kolkata,
Mumbai, New Delhi
Subject: Re: difference between timeout/proxy_timeout

On Mon, Sep 08, 2008 at 12:28:42AM -0700, Mansoor P. wrote:

what’s the difference between timeout and proxy_timeout directives for mail ?
from the documentation, what i can tell is that timeout is the inactivity timer between downstream client and nginx

whereas proxy_timeout is the inactivity timer between nginx and upstream server

what about when the proxy connection is established (i.e. route lookup has taken place and the user has logged in) ?
which timer of these two is in force then ?

After proxy connection is established, nginx uses proxy_timeout between
nginx and upstream only. There is no timeout settings between client
and nginx at all.