sivaatluri
asked on
Nginx Health Check Failing
Hi,
We are loadbalancing between Java App Servers using Nginx Load Balancer, we had configured health checks.
For Max 3 failures it should not send the traffic, but nginx is still sending the traffic
We are loadbalancing between Java App Servers using Nginx Load Balancer, we had configured health checks.
For Max 3 failures it should not send the traffic, but nginx is still sending the traffic
ASKER
But if the service is down in some odd hours, the 10s time would not be sufficient.
server 10.0.61.65:5010 weight=10 max_fails=3 fail_timeout=40s;
server 10.0.60.75:5001 weight=10 max_fails=3 fail_timeout=40s;
server 10.0.61.65:5010 weight=10 max_fails=3 fail_timeout=40s;
server 10.0.60.75:5001 weight=10 max_fails=3 fail_timeout=40s;
ASKER
Ghiest can you help me with this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
default fail_timeout is 10s which is more than sufficient to restart tomcat or jetty