summaryrefslogblamecommitdiffstats
path: root/syntax/modules/stream-upsync.vim
blob: 932cacfa2b04bf72193cdd8bc62bdc7d9a3bfeed (plain) (tree)
1
2
3
4
5
6
7
8
9
10
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