Thanks itpp2012, I'll look at LUA

if I understand correctly, we can not specify the timeout of the session to
upstream the server, initiate a timeout error, and force requests to move to
another server?

 proxy_read_timeout 1;
-> proxy_next_upstream     error timeout

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

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

Reply via email to