Welcome! Log In Create A New Profile

Advanced

Re: Nginx upstream servers status

All files from this thread

File Name File Size   Posted by Date  
emailsiglogo.png 6.6 KB open | download Sajan Parikh 07/03/2013 Read message
smime.p7s 4.4 KB open | download Sajan Parikh 07/03/2013 Read message
emailsiglogo.png 6.6 KB open | download Sajan Parikh 07/03/2013 Read message
smime.p7s 4.4 KB open | download Sajan Parikh 07/03/2013 Read message
emailsiglogo.png 6.6 KB open | download Sandeep L 07/03/2013 Read message
Sajan Parikh
July 03, 2013 01:48AM
In your proxy_next_upstream, why do you have 'off' enabled.

off --- it forbids the request transfer to the next server.

Remove 'off' from that line.

Sajan Parikh
/Owner, Noppix LLC/

e: sajan@noppix.com
p: (563) 726-0371

Noppix LLC Logo
On 07/03/2013 12:37 AM, Sandeep L wrote:
> @Parikh I tried with proxy_next_upstream also but facing same issue.
>
> Regarding fail_timeout I used values from 10s to 30s but facing same
> issue.
>
> I used following configuration, just check and let me know If I am
> missing any thing.
>
> *upstream appcluster {
> server host1.example.com:8080 max_fails=2 fail_timeout=10s;
> server host2.example.com:8080 max_fails=2 fail_timeout=10s;
> }
> *
> *
> *
> *server {*
> * listen *;*
> * location / {*
> * proxy_pass http://appcluster;*
> * proxy_next_upstream error timeout http_404
> http_500 http_502 http_503 http_504 off;*
> * proxy_set_header X-Real-IP $remote_addr;*
> * }*
> *}*
>
>
> Thanks,
> Sandeep.
>
>
> > To: nginx@nginx.org
> > Subject: Re: Nginx upstream servers status
> > From: nginx-forum@nginx.us
> > Date: Wed, 3 Jul 2013 01:11:20 -0400
> >
> > you allow 600 seconds to pass until you npotice, that your
> upstream-server
> > is not responsible.
> >
> > ... max_fails=2 fail_timeout=300s;
> >
> > why?
> >
> > Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,240513,240515#msg-240515
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Attachments:
open | download - emailsiglogo.png (6.6 KB)
open | download - smime.p7s (4.4 KB)
Subject Author Posted

Nginx upstream servers status

Sandeep L July 03, 2013 12:56AM

Re: Nginx upstream servers status Attachments

Sajan Parikh July 03, 2013 01:06AM

Re: Nginx upstream servers status

mex July 03, 2013 01:11AM

RE: Nginx upstream servers status

Sandeep L July 03, 2013 01:38AM

Re: Nginx upstream servers status Attachments

Sajan Parikh July 03, 2013 01:48AM

RE: Nginx upstream servers status Attachments

Sandeep L July 03, 2013 01:56AM

Re: RE: Nginx upstream servers status

mex July 03, 2013 02:04AM

RE: Nginx upstream servers status

Sandeep L July 03, 2013 02:12AM

Re: RE: Nginx upstream servers status

mex July 03, 2013 02:39AM

RE: Nginx upstream servers status

Sandeep L July 03, 2013 05:00AM

RE: Nginx upstream servers status

Sandeep L July 04, 2013 01:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
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