# Zeroconf for proxy to upstream servers

**URL:** <https://www.ruby-forum.com/t/zeroconf-for-proxy-to-upstream-servers/242923>\
**Category:** NGINX\
**Created:** [August 7, 2015, 8:31pm UTC](https://www.ruby-forum.com/t/zeroconf-for-proxy-to-upstream-servers/242923 "2015-08-07T20:31:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [August 7, 2015, 8:31pm UTC](https://www.ruby-forum.com/t/zeroconf-for-proxy-to-upstream-servers/242923/1 "2015-08-07T20:31:15Z")

</div>

Does Nginx support any sort of zeroconf in its proxying to upstream  
servers? I would like to make the backend publish themselves via  
something like zeroconf. Nginx should route traffic to them when they  
publish themselves as online, and nginx should remove them from this  
list when they publish themselves as offline.

Does that currently exist in nginx?

Michael Power

---

<div class="post-metadata">

**Author:** ![Michael\_Power](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d78d45/32.png) [@Michael\_Power](https://www.ruby-forum.com/u/Michael_Power)\
**Post date:** [August 9, 2015, 12:12pm UTC](https://www.ruby-forum.com/t/zeroconf-for-proxy-to-upstream-servers/242923/2 "2015-08-09T12:12:27Z")

</div>

Hi Michael

Am 07-08-2015 20:30, schrieb Michael Power:

> Does Nginx support any sort of zeroconf in its proxying to upstream  
> servers? I would like to make the backend publish themselves via  
> something like zeroconf. Nginx should route traffic to them when they  
> publish themselves as online, and nginx should remove them from this  
> list when they publish themselves as offline.
> 
> Does that currently exist in nginx?

Yes.

> **[Module ngx\_http\_upstream\_conf\_module](http://nginx.org/en/docs/http/ngx_http_upstream_conf_module.html)**

---

<div class="post-metadata">

**Author:** ![Michael\_Power](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d78d45/32.png) [@Michael\_Power](https://www.ruby-forum.com/u/Michael_Power)\
**Post date:** [August 9, 2015, 9:39pm UTC](https://www.ruby-forum.com/t/zeroconf-for-proxy-to-upstream-servers/242923/3 "2015-08-09T21:39:05Z")

</div>

You could also look at lua-resty-upstream-healthcheck (  
[GitHub - openresty/lua-resty-upstream-healthcheck: Health Checker for Nginx Upstream Servers in Pure Lua](https://github.com/openresty/lua-resty-upstream-healthcheck)) as an  
alternative. It’s not native Nginx per se, but it’s integrated with  
OpenResty.
