fair proxy module

Philipp Michels michels at rz.uni-freiburg.de
Thu Nov 20 10:57:40 MSK 2008


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 ***

Dipl.-Inf. Philipp Michels
Rechenzentrum Universitaet Freiburg
Stefan-Meier-Str. 31a, 79104 Freiburg
Tel: 0761/203-4669, Fax: 0761/203-4643
E-Mail: michels at rz.uni-freiburg.de

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






More information about the nginx mailing list