summaryrefslogtreecommitdiffstats
path: root/syntax/modules/consistent-hash.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/consistent-hash.vim')
-rw-r--r--syntax/modules/consistent-hash.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/syntax/modules/consistent-hash.vim b/syntax/modules/consistent-hash.vim
new file mode 100644
index 00000000..b066b2b0
--- /dev/null
+++ b/syntax/modules/consistent-hash.vim
@@ -0,0 +1,8 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Upstream Consistent Hash <https://www.nginx.com/resources/wiki/modules/consistent_hash/>
+" A load balancer that uses an internal consistent hash ring to select the right backend node.
+syn keyword ngxDirectiveThirdParty consistent_hash
+
+
+endif