GUI / nginx-upstream-dynamic-servers

An nginx module to resolve domain names inside upstreams and keep them up to date.
MIT License
311 stars 74 forks source link

Adding health check #17

Open gfrankliu opened 8 years ago

gfrankliu commented 8 years ago

There are a few upstream health check modules but they don't seem to work with nginx-upstream-dynamic-servers since they were not designed to have the server/IP list updated. This would cause nginx crashing as discussed in https://github.com/GUI/nginx-upstream-dynamic-servers/issues/13

Recently I noticed a fork https://github.com/xiaokai-wang/nginx_upstream_check_module that supports changing server/IP list. This module is actually modified to work with https://github.com/weibocom/nginx-upsync-module that allows changing upstream IPs via etcd or consul.

Is it possible to make sure nginx-upstream-dynamic-servers work with that health check?