next upstream on timeout and 307

dronord dronord at gmail.com
Wed Mar 6 11:27:17 UTC 2024


Hello!
I have two(or more) http(rest) servers - main and backup.
On error from main need redirect POST to backup, and if possible set him as
main.
Errors:
 - connection error/timeout
 - read timeout
 - 30x and 50x responses

Can nginx help me?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20240306/2638ff9b/attachment.htm>


More information about the nginx mailing list