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/healthcheck-upstream.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 syntax/modules/healthcheck-upstream.vim (limited to 'syntax/modules/healthcheck-upstream.vim') diff --git a/syntax/modules/healthcheck-upstream.vim b/syntax/modules/healthcheck-upstream.vim new file mode 100644 index 00000000..362324b6 --- /dev/null +++ b/syntax/modules/healthcheck-upstream.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Health Checks Upstreams Module +" Polls backends and if they respond with HTTP 200 + an optional request body, they are marked good. Otherwise, they are marked bad. +syn keyword ngxDirectiveThirdParty healthcheck_enabled +syn keyword ngxDirectiveThirdParty healthcheck_delay +syn keyword ngxDirectiveThirdParty healthcheck_timeout +syn keyword ngxDirectiveThirdParty healthcheck_failcount +syn keyword ngxDirectiveThirdParty healthcheck_send +syn keyword ngxDirectiveThirdParty healthcheck_expected +syn keyword ngxDirectiveThirdParty healthcheck_buffer +syn keyword ngxDirectiveThirdParty healthcheck_status + + +endif -- cgit v1.2.3