diff options
Diffstat (limited to 'syntax/modules/stream-upsync.vim')
-rw-r--r-- | syntax/modules/stream-upsync.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/syntax/modules/stream-upsync.vim b/syntax/modules/stream-upsync.vim new file mode 100644 index 00000000..2769f871 --- /dev/null +++ b/syntax/modules/stream-upsync.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Stream Upsync Module <https://github.com/xiaokai-wang/nginx-stream-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 upsync_show + + +endif |