I have an upstream block as follows

upstream sample{
    server abc1.example.com down;
    server abd2.example.com down;
}

Currently I get a 502 error. In this special case where I receive a 502 and
all upstream servers are down I would like a receive a specific error page
as temporarily unavailable.

How can i achieve that?

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,274075,274075#msg-274075

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to