Idea: Zeroconf/Avahi support?

Manlio Perillo manlio_perillo at libero.it
Wed Mar 11 17:09:00 MSK 2009


Marcus Clyne ha scritto:
>>
> What about using a repeating timed event that checked for new upstream 
> servers, perhaps launching the search in a new thread?  If the server 
> makeup has changed, then an event could be triggered to change the 
> upstream configuration?  

This is already feasible without touching Nginx code.

Just write a small server (in a language like Python), than when a new 
upstream is available, modify the Nginx configuration file and send an 
HUP signal to the Nginx process.


 > [...]


Regards  Manlio





More information about the nginx mailing list