翻译:糖果

nginx-upsync-module - Nginx C module, sync upstreams from consul or others, dynamiclly modify backend-servers attribute(weight, max_fails,...), needn't reload nginx.

nginx-upsync-module Nginx C模块,通过consul组件对upstream进行同步,动态的修改后端服务器的属性。(权重,最大失败数,…)并且不需要reload重新加载nginx.

It may not always be convenient to modify configuration files and restart NGINX. For example, if you are experiencing large amounts of traffic and high load, restarting NGINX and reloading the configuration at that point further increases load on the system and can temporarily degrade performance.

不能总是方便的修改配置文件重起Nginx。比如,大流量业务,配置重起NGINX, 会暂时性降低加载性能。

The module can be more smoothly expansion and constriction, and will not influence the performance.

这模块可对其进行,平滑的扩展和收束,而不影响性能。

Another module, nginx-stream-upsync-module supports nginx stream module(TCP protocol), please be noticed.

别一模块,nginx-stream-upsync-module 支持nginx流(TCP协议),敬请关注!

动态修改OpenResty的Conf配置文件(nginx-upsync-module)

www.lua.ren