difference between timeout/proxy_timeout

Igor Sysoev is at rambler-co.ru
Mon Sep 8 12:10:51 MSD 2008

On Mon, Sep 08, 2008 at 12:28:42AM -0700, Mansoor Peerbhoy 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.

Igor Sysoev

More information about the nginx mailing list