summaryrefslogtreecommitdiffstats
path: root/syntax/modules/upstream-hash.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/upstream-hash.vim')
-rw-r--r--syntax/modules/upstream-hash.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/syntax/modules/upstream-hash.vim b/syntax/modules/upstream-hash.vim
new file mode 100644
index 00000000..b86980ab
--- /dev/null
+++ b/syntax/modules/upstream-hash.vim
@@ -0,0 +1,9 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Upstream Hash Module (DEPRECATED) <http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule>
+" Provides simple upstream load distribution by hashing a configurable variable.
+syn keyword ngxDirectiveThirdParty hash
+syn keyword ngxDirectiveThirdParty hash_again
+
+
+endif