Subscribe

View this package for all CentOS/RHEL versions →

How to install nginx-module-upsync in CentOS/RHEL 6 (x86_64)

NGINX module for syncing upstreams from consul or etcd

License: BSD Vendor: GetPageSpeed, Inc. https://github.com/weibocom/nginx-upsync-module

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install nginx-module-upsync

Description

Syncs upstreams from consul or others, dynamically modify backend-servers attribute(weight, max_fails,...), needn't 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. The module can be more smoothly expansion and constriction, and will not influence the performance. Another module, nginx-module-stream-upsync supports nginx stream module(TCP protocol), please be noticed.