Francis Daly
August 13, 2015 07:14AM
On Thu, Aug 13, 2015 at 05:12:57AM -0400, karkunpavan wrote:

Hi there,

> starnge thing is when both IP1, IP2 are down the nginx server itself takes
> it up and responds to the http requests from ab. Is there a way to make
> nginx not behave this way?

That does seem strange to me.

What output do you get from a request like

curl -i http://your-nginx:8000/

when one "upstream" is active; and when no "upstream" is active?

What does your nginx access_log say for those two requests?

f
--
Francis Daly francis@daoine.org

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

how to make nginx loadbalancer give 404 when all upstream servers are down

karkunpavan August 13, 2015 05:12AM

Re: how to make nginx loadbalancer give 404 when all upstream servers are down

Francis Daly August 13, 2015 07:14AM

Re: how to make nginx loadbalancer give 404 when all upstream servers are down

karkunpavan August 14, 2015 02:06AM

Re: how to make nginx loadbalancer give 404 when all upstream servers are down

itpp2012 August 14, 2015 03:12AM

Re: how to make nginx loadbalancer give 404 when all upstream servers are down

karkunpavan August 14, 2015 03:45AM

Re: how to make nginx loadbalancer give 404 when all upstream servers are down

Francis Daly August 14, 2015 03:56AM

Re: how to make nginx loadbalancer give 404 when all upstream servers are down

karkunpavan August 14, 2015 04:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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