3 messages in ru.sysoev.nginxRe: fair proxy module
FromSent OnAttachments
Glen LumanauNov 19, 2008 11:32 pm 
Philipp MichelsNov 19, 2008 11:57 pm 
owkayeNov 19, 2008 11:59 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: fair proxy moduleActions...
From:Philipp Michels (mich@rz.uni-freiburg.de)
Date:Nov 19, 2008 11:57:17 pm
List:ru.sysoev.nginx

Glen Lumanau schrieb:

What I’ve read about fair proxy module, is nginx sends an incoming request to the least-busy backend server

But if the backend server is DOWN, nginx still redirect the traffic to the backend. Is that posibble if the backend server is down, nginx stop redirect traffic to that server?

i am not sure if this works i did not do lots of tests, but have u tried:

--snip--

upstream zope { server <ip-adress>:<port> fail_timeout=15s max_fails=3; server <ip-adress>:<port> fail_timeout=15s max_fails=3; fair; }

--snap--

kind regards

Philipp

--

*** ACHTUNG: Meine Telefonnummer hat sich geändert: 203 - 4669 ***

PGP-Key: http://omnibus.ruf.uni-freiburg.de/~michels/pubkey.asc PGP-Fingerprint: 4212 96E7 351E C00D 5506 5B59 EEEE CA1A 9D25 137E