summaryrefslogtreecommitdiffstats
path: root/syntax/modules/tcp-proxy.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-12-20 20:57:20 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2016-12-20 20:57:20 +0100
commite404a658b1647fad396a954776eda0bdabf8353c (patch)
treefcdab0e324fd72015ba656e43bd8f8c243030c14 /syntax/modules/tcp-proxy.vim
parent74652b465d7eff97070001317a4ea5557717378d (diff)
downloadvim-polyglot-e404a658b1647fad396a954776eda0bdabf8353c.tar.gz
vim-polyglot-e404a658b1647fad396a954776eda0bdabf8353c.zip
Update
Diffstat (limited to 'syntax/modules/tcp-proxy.vim')
-rw-r--r--syntax/modules/tcp-proxy.vim33
1 files changed, 33 insertions, 0 deletions
diff --git a/syntax/modules/tcp-proxy.vim b/syntax/modules/tcp-proxy.vim
new file mode 100644
index 00000000..bfe03623
--- /dev/null
+++ b/syntax/modules/tcp-proxy.vim
@@ -0,0 +1,33 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" TCP Proxy Module <http://yaoweibin.github.io/nginx_tcp_proxy_module/>
+" Add the feature of tcp proxy with nginx, with health check and status monitor
+syn keyword ngxDirectiveThirdParty tcp
+syn keyword ngxDirectiveThirdParty server
+syn keyword ngxDirectiveThirdParty listen
+syn keyword ngxDirectiveThirdParty allow
+syn keyword ngxDirectiveThirdParty deny
+syn keyword ngxDirectiveThirdParty so_keepalive
+syn keyword ngxDirectiveThirdParty tcp_nodelay
+syn keyword ngxDirectiveThirdParty timeout
+syn keyword ngxDirectiveThirdParty server_name
+syn keyword ngxDirectiveThirdParty resolver
+syn keyword ngxDirectiveThirdParty resolver_timeout
+syn keyword ngxDirectiveThirdParty upstream
+syn keyword ngxDirectiveThirdParty server
+syn keyword ngxDirectiveThirdParty check
+syn keyword ngxDirectiveThirdParty check_http_send
+syn keyword ngxDirectiveThirdParty check_http_expect_alive
+syn keyword ngxDirectiveThirdParty check_smtp_send
+syn keyword ngxDirectiveThirdParty check_smtp_expect_alive
+syn keyword ngxDirectiveThirdParty check_shm_size
+syn keyword ngxDirectiveThirdParty check_status
+syn keyword ngxDirectiveThirdParty ip_hash
+syn keyword ngxDirectiveThirdParty proxy_pass
+syn keyword ngxDirectiveThirdParty proxy_buffer
+syn keyword ngxDirectiveThirdParty proxy_connect_timeout
+syn keyword ngxDirectiveThirdParty proxy_read_timeout
+syn keyword ngxDirectiveThirdParty proxy_write_timeout
+
+
+endif