<div dir="ltr"><div><div><div><div>Hello,<br></div>I was wondering if proxy_pass has any ability to retry ECONNREFUSED, or a connection timeout, or similar? <br><br></div><div>It looks like proxy_next_upstream is fairly close to what I want, though I would rather not configure a second server; I just want the initial request to be more robust. <br>
</div><div><br></div><div>Similarly the upstream directive is close to what I want; you can just add the same server name multiple times to allow for multiple retries. However, this gets more complicated if you are passing in a backend URI via a variable (say, with X-Accel-Redirect).<br>
<br></div><div>Would be nice to have a `proxy_connection_retries` or similar.<br></div><div><br></div><div>--<br>Kevin Burke<br>phone: 925.271.7005 | <a href="http://kev.inburke.com" target="_blank">kev.inburke.com</a></div>
</div></div><div><div><div><div><div>
</div></div></div></div></div></div>