Welcome! Log In Create A New Profile

Advanced

Re: Unbreakable 90 sec timeout

Antoine BONAVITA
February 09, 2011 08:36AM
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@nginx.us>
> To: nginx@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>




_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Unbreakable 90 sec timeout

Hubbitus February 04, 2011 05:11PM

Re: Unbreakable 90 sec timeout

DeineAgentur February 08, 2011 09:21AM

Re: Unbreakable 90 sec timeout

DeineAgentur February 08, 2011 09:23AM

Re: Unbreakable 90 sec timeout

Hubbitus February 09, 2011 04:58AM

Re: Unbreakable 90 sec timeout

Antoine BONAVITA February 09, 2011 08:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 173
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready