From e404a658b1647fad396a954776eda0bdabf8353c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 20 Dec 2016 20:57:20 +0100 Subject: Update --- syntax/modules/stream-upsync.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 syntax/modules/stream-upsync.vim (limited to 'syntax/modules/stream-upsync.vim') 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 +" 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 -- cgit v1.2.3