Welcome! Log In Create A New Profile

Advanced

retrying proxy connect timeouts but not read timeouts

Gary Wilson Jr.
October 02, 2011 06:08PM
I've got a proxy + upstream setup with three defined upstream
servers. I would like nginx to retry requests when there is an error
or when there is a connection timeout (but not a read timeout).
However, it appears that proxy_next_upstream only has the granularity
of "error" and "timeout".

Is there any way to have proxy_next_upstream differentiate between
connection timeout and read timeout? If not, is creating a ticket in
the bug tracker the proper way to request such a feature?

Thanks,
Gary

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

retrying proxy connect timeouts but not read timeouts

Gary Wilson Jr. October 02, 2011 06:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 139
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready