summaryrefslogtreecommitdiffstats
path: root/syntax/modules/upsync.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/upsync.vim')
-rw-r--r--syntax/modules/upsync.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/syntax/modules/upsync.vim b/syntax/modules/upsync.vim
new file mode 100644
index 00000000..ddf8a1a7
--- /dev/null
+++ b/syntax/modules/upsync.vim
@@ -0,0 +1,11 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Upsync Module <https://github.com/weibocom/nginx-upsync-module>
+" Sync upstreams from consul or others, dynamiclly modify backend-servers attribute(weight, max_fails,...), needn't reload nginx
+syn keyword ngxDirectiveThirdParty upsync
+syn keyword ngxDirectiveThirdParty upsync_dump_path
+syn keyword ngxDirectiveThirdParty upsync_lb
+syn keyword ngxDirectiveThirdParty upstream_show
+
+
+endif