Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Name
====

nginx-upsync-module - Nginx C module, nginx + consul server discovery service, dynamicly update upstream backend servers, dynamicly adjust backend servers weight, needn't reload nginx.
nginx-upsync-module - Nginx C module, nginx + consul server discovery service, dynamically update upstream backend servers, dynamically adjust backend servers' weight, needn't reload nginx.

Table of Contents
=================
Expand Down Expand Up @@ -71,7 +71,7 @@ http {
Description
======

This module provides a method to discover backend servers. Supporting dynamicly adding or deleting backend server through consul and dynamicly adjusting backend servers weight, module will timely pull new backend server list from consul to update nginx ip router. Nginx needn't reload. Having some advantages than others:
This module provides a method to discover backend servers. Supporting dynamically adding or deleting backend server through consul and dynamically adjusting backend servers weight, module will timely pull new backend server list from consul to update nginx ip router. Nginx needn't reload. Having some advantages than others:

* timely

Expand All @@ -89,7 +89,7 @@ This module provides a method to discover backend servers. Supporting dynamicly

nginx-upsync-module support adding or deleting servers health check, needing nginx_upstream_check_module. Recommending nginx-upsync-module + nginx_upstream_check_module.

Diretives
Directives
======

consul
Expand Down Expand Up @@ -211,7 +211,7 @@ Compatible with Nginx-1.9.x.
Installation
============

This module can be used independently, can be download[Github](https://github.com/weibocom/nginx-upsync-module.git).
This module can be used independently, and can be downloaded from [Github](https://github.com/weibocom/nginx-upsync-module.git).

Grab the nginx source code from [nginx.org](http://nginx.org/), for example, the version 1.8.0 (see nginx compatibility), and then build the source with this module:

Expand Down
10 changes: 5 additions & 5 deletions config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
have=NGX_HTTP_DYNAMIC_UPDATE_UPSTREAM . auto/have
ngx_addon_name=ngx_http_dynamic_update_upstream_module
HTTP_MODULES="$HTTP_MODULES ngx_http_dynamic_update_upstream_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/src/ngx_http_dynamic_update_upstream_module.c $ngx_addon_dir/src/ngx_http_json.c $ngx_addon_dir/src/ngx_http_parser.c"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/src/ngx_http_json.h $ngx_addon_dir/src/ngx_http_parser.h"
have=NGX_HTTP_UPSYNC . auto/have
ngx_addon_name=ngx_http_upsync_module
HTTP_MODULES="$HTTP_MODULES ngx_http_upsync_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/src/ngx_http_upsync_module.c $ngx_addon_dir/src/ngx_http_json.c $ngx_addon_dir/src/ngx_http_parser.c"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/src/ngx_http_upsync_module.h $ngx_addon_dir/src/ngx_http_json.h $ngx_addon_dir/src/ngx_http_parser.h"
ngx_feature_libs="-lm"
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
Loading