Nginx and unix socket set retry time

Hi ,
Is there a way to retry connection to an unix socket ( on which my fast
cgi
app is running ) for some time , instead of immediately responding 502
bad
gateway and exiting ?

Posted at Nginx Forum: