summaryrefslogtreecommitdiffstats
path: root/syntax/modules/fair-balancer.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/fair-balancer.vim')
-rw-r--r--syntax/modules/fair-balancer.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/syntax/modules/fair-balancer.vim b/syntax/modules/fair-balancer.vim
new file mode 100644
index 00000000..097232ce
--- /dev/null
+++ b/syntax/modules/fair-balancer.vim
@@ -0,0 +1,9 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Upstream Fair Balancer <https://www.nginx.com/resources/wiki/modules/fair_balancer/>
+" Sends an incoming request to the least-busy backend server, rather than distributing requests round-robin.
+syn keyword ngxDirectiveThirdParty fair
+syn keyword ngxDirectiveThirdParty upstream_fair_shm_size
+
+
+endif