Unbreakable 90 sec timeout

Antoine BONAVITA antoine_bonavita at yahoo.com
Wed Feb 9 16:33:10 MSK 2011


Hubbitus,

It should work if you include the file in the server location and override it in 
your location.

Something like :
server {
    include  /etc/nginx/proxy.conf;
    location / {
        proxy_send_timeout 1600;
    }
}

You got the idea, I guess.

Antoine.



----- Original Message ----
> From: Hubbitus <nginx-forum at nginx.us>
> To: nginx at nginx.org
> Sent: Wed, February 9, 2011 10:58:28 AM
> Subject: Re: Unbreakable 90 sec timeout
> 
> Indeed!
> Thank you very much for the help. You are right -  included
> /etc/nginx/proxy.conf defines such timeout.
> 
> But if I want  redefine its values afte inclusion I got error like:
> [code][emerg]:  "proxy_send_timeout" directive is duplicate  in
> /etc/nginx/sites-enabled/detishop:18
> configuration file  /etc/nginx/nginx.conf test failed[/code]
> 
> Is there way have included  common settings and just redefine [b]some[/b]
> for concrete [b]location[/b] or  [b]server[/b]?
> 
> Posted at Nginx Forum:  
>http://forum.nginx.org/read.php?2,172262,173459#msg-173459
> 
> 
> _______________________________________________
> nginx  mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
> 


      



More information about the nginx mailing list