summaryrefslogtreecommitdiffstats
path: root/syntax/modules
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules')
-rw-r--r--syntax/modules/access-key.vim8
-rw-r--r--syntax/modules/akamai-g2o.vim2
-rw-r--r--syntax/modules/alacner-lua.vim2
-rw-r--r--syntax/modules/aws-auth.vim2
-rw-r--r--syntax/modules/brotli.vim2
-rw-r--r--syntax/modules/cache-purge.vim4
-rw-r--r--syntax/modules/chunkin.vim8
-rw-r--r--syntax/modules/clojure.vim2
-rw-r--r--syntax/modules/consistent-hash.vim2
-rw-r--r--syntax/modules/drizzle.vim17
-rw-r--r--syntax/modules/dynamic-etags.vim2
-rw-r--r--syntax/modules/echo.vim29
-rw-r--r--syntax/modules/encrypted-session.vim1
-rw-r--r--syntax/modules/events.vim4
-rw-r--r--syntax/modules/fancyindex.vim10
-rw-r--r--syntax/modules/geoip.vim2
-rw-r--r--syntax/modules/geoip2.vim8
-rw-r--r--syntax/modules/gridfs.vim2
-rw-r--r--syntax/modules/http-accounting.vim2
-rw-r--r--syntax/modules/http-auth-digest.vim2
-rw-r--r--syntax/modules/http-auth-request.vim4
-rw-r--r--syntax/modules/http-concat.vim2
-rw-r--r--syntax/modules/http-internal-redirect.vim2
-rw-r--r--syntax/modules/http-push.vim10
-rw-r--r--syntax/modules/http-redis.vim2
-rw-r--r--syntax/modules/iconv.vim2
-rw-r--r--syntax/modules/js.vim11
-rw-r--r--syntax/modules/log-if.vim2
-rw-r--r--syntax/modules/log-request-speed.vim4
-rw-r--r--syntax/modules/lua-upstream.vim2
-rw-r--r--syntax/modules/lua.vim7
-rw-r--r--syntax/modules/md5-filter.vim2
-rw-r--r--syntax/modules/mogilefs.vim13
-rw-r--r--syntax/modules/mp4-streaming.vim2
-rw-r--r--syntax/modules/nchan.vim56
-rw-r--r--syntax/modules/ocsp-proxy.vim2
-rw-r--r--syntax/modules/openssl-version.vim2
-rw-r--r--syntax/modules/php-memcache-standard-balancer.vim2
-rw-r--r--syntax/modules/php-session.vim2
-rw-r--r--syntax/modules/phusion-passenger.vim89
-rw-r--r--syntax/modules/rdns.vim2
-rw-r--r--syntax/modules/rds-json.vim10
-rw-r--r--syntax/modules/redis.vim15
-rw-r--r--syntax/modules/replace-filter.vim2
-rw-r--r--syntax/modules/rtmp.vim14
-rw-r--r--syntax/modules/rtmpt-proxy.vim3
-rw-r--r--syntax/modules/secure-download.vim7
-rw-r--r--syntax/modules/set-hash.vim2
-rw-r--r--syntax/modules/shibboleth.vim2
-rw-r--r--syntax/modules/slice.vim2
-rw-r--r--syntax/modules/static-etags.vim2
-rw-r--r--syntax/modules/sticky.vim2
-rw-r--r--syntax/modules/stream-echo.vim2
-rw-r--r--syntax/modules/stream-upsync.vim2
-rw-r--r--syntax/modules/tarantool-upstream.vim2
-rw-r--r--syntax/modules/tcp-proxy.vim37
-rw-r--r--syntax/modules/testcookie.vim2
-rw-r--r--syntax/modules/types-filter.vim2
-rw-r--r--syntax/modules/upload-progress.vim8
-rw-r--r--syntax/modules/upload.vim21
-rw-r--r--syntax/modules/upstream-hash.vim4
-rw-r--r--syntax/modules/upstream-jdomain.vim2
-rw-r--r--syntax/modules/usptream-ketama-chash.vim2
-rw-r--r--syntax/modules/vkholodkov-eval.vim4
-rw-r--r--syntax/modules/xss.vim5
65 files changed, 331 insertions, 154 deletions
diff --git a/syntax/modules/access-key.vim b/syntax/modules/access-key.vim
index 71b2c4c9..7f23d68e 100644
--- a/syntax/modules/access-key.vim
+++ b/syntax/modules/access-key.vim
@@ -2,10 +2,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Access Key Module (DEPRECATED) <http://wiki.nginx.org/NginxHttpAccessKeyModule>
" Denies access unless the request URL contains an access key.
-syn keyword ngxDirectiveThirdParty accesskey
-syn keyword ngxDirectiveThirdParty accesskey_arg
-syn keyword ngxDirectiveThirdParty accesskey_hashmethod
-syn keyword ngxDirectiveThirdParty accesskey_signature
+syn keyword ngxDirectiveDeprecated accesskey
+syn keyword ngxDirectiveDeprecated accesskey_arg
+syn keyword ngxDirectiveDeprecated accesskey_hashmethod
+syn keyword ngxDirectiveDeprecated accesskey_signature
endif
diff --git a/syntax/modules/akamai-g2o.vim b/syntax/modules/akamai-g2o.vim
index 36a29b4f..5cb86c14 100644
--- a/syntax/modules/akamai-g2o.vim
+++ b/syntax/modules/akamai-g2o.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Akamai G2O Module <https://github.com/kaltura/nginx_mod_akamai_g2o>
-" Nginx Module for Authenticating Akamai G2O requests
+" Nginx Module for Authenticating Akamai G2O requests
syn keyword ngxDirectiveThirdParty g2o
syn keyword ngxDirectiveThirdParty g2o_nonce
syn keyword ngxDirectiveThirdParty g2o_key
diff --git a/syntax/modules/alacner-lua.vim b/syntax/modules/alacner-lua.vim
index 1772422d..e884c4bd 100644
--- a/syntax/modules/alacner-lua.vim
+++ b/syntax/modules/alacner-lua.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Lua Module <https://github.com/alacner/nginx_lua_module>
-" You can be very simple to execute lua code for nginx
+" You can be very simple to execute lua code for nginx
syn keyword ngxDirectiveThirdParty lua_file
diff --git a/syntax/modules/aws-auth.vim b/syntax/modules/aws-auth.vim
index f98e960c..80663461 100644
--- a/syntax/modules/aws-auth.vim
+++ b/syntax/modules/aws-auth.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" AWS Proxy Module <https://github.com/anomalizer/ngx_aws_auth>
-" Nginx module to proxy to authenticated AWS services
+" Nginx module to proxy to authenticated AWS services
syn keyword ngxDirectiveThirdParty aws_access_key
syn keyword ngxDirectiveThirdParty aws_key_scope
syn keyword ngxDirectiveThirdParty aws_signing_key
diff --git a/syntax/modules/brotli.vim b/syntax/modules/brotli.vim
index b6103d48..077dc560 100644
--- a/syntax/modules/brotli.vim
+++ b/syntax/modules/brotli.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Brotli Module <https://github.com/google/ngx_brotli>
-" Nginx module for Brotli compression
+" Nginx module for Brotli compression
syn keyword ngxDirectiveThirdParty brotli_static
syn keyword ngxDirectiveThirdParty brotli
syn keyword ngxDirectiveThirdParty brotli_types
diff --git a/syntax/modules/cache-purge.vim b/syntax/modules/cache-purge.vim
index 2b57226e..a41d13db 100644
--- a/syntax/modules/cache-purge.vim
+++ b/syntax/modules/cache-purge.vim
@@ -1,9 +1,11 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Cache Purge Module <https://github.com/FRiCKLE/ngx_cache_purge>
-" Module adding ability to purge content from FastCGI and proxy caches.
+" Adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches.
syn keyword ngxDirectiveThirdParty fastcgi_cache_purge
syn keyword ngxDirectiveThirdParty proxy_cache_purge
+" syn keyword ngxDirectiveThirdParty scgi_cache_purge
+" syn keyword ngxDirectiveThirdParty uwsgi_cache_purge
endif
diff --git a/syntax/modules/chunkin.vim b/syntax/modules/chunkin.vim
index 8375598b..9908ef8d 100644
--- a/syntax/modules/chunkin.vim
+++ b/syntax/modules/chunkin.vim
@@ -2,10 +2,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Chunkin Module (DEPRECATED) <http://wiki.nginx.org/NginxHttpChunkinModule>
" HTTP 1.1 chunked-encoding request body support for Nginx.
-syn keyword ngxDirectiveThirdParty chunkin
-syn keyword ngxDirectiveThirdParty chunkin_keepalive
-syn keyword ngxDirectiveThirdParty chunkin_max_chunks_per_buf
-syn keyword ngxDirectiveThirdParty chunkin_resume
+syn keyword ngxDirectiveDeprecated chunkin
+syn keyword ngxDirectiveDeprecated chunkin_keepalive
+syn keyword ngxDirectiveDeprecated chunkin_max_chunks_per_buf
+syn keyword ngxDirectiveDeprecated chunkin_resume
endif
diff --git a/syntax/modules/clojure.vim b/syntax/modules/clojure.vim
index e5a6c8d4..ca49ac3f 100644
--- a/syntax/modules/clojure.vim
+++ b/syntax/modules/clojure.vim
@@ -1,6 +1,6 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
-" Nginx-Clojure Module http://nginx-clojure.github.io/index.html<>
+" Nginx-Clojure Module <http://nginx-clojure.github.io/index.html>
" Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
syn keyword ngxDirectiveThirdParty jvm_path
syn keyword ngxDirectiveThirdParty jvm_var
diff --git a/syntax/modules/consistent-hash.vim b/syntax/modules/consistent-hash.vim
index b066b2b0..1ebbe4e8 100644
--- a/syntax/modules/consistent-hash.vim
+++ b/syntax/modules/consistent-hash.vim
@@ -1,6 +1,6 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
-" Upstream Consistent Hash <https://www.nginx.com/resources/wiki/modules/consistent_hash/>
+" 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
diff --git a/syntax/modules/drizzle.vim b/syntax/modules/drizzle.vim
index 507977e3..5bfff69b 100644
--- a/syntax/modules/drizzle.vim
+++ b/syntax/modules/drizzle.vim
@@ -1,17 +1,18 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
-" Drizzle Module <https://github.com/openresty/drizzle-nginx-module>
-" Make nginx talk directly to mysql, drizzle, and sqlite3 by libdrizzle.
-syn keyword ngxDirectiveThirdParty drizzle_connect_timeout
-syn keyword ngxDirectiveThirdParty drizzle_dbname
+" Drizzle Module <https://www.nginx.com/resources/wiki/modules/drizzle/>
+" Upstream module for talking to MySQL and Drizzle directly
+syn keyword ngxDirectiveThirdParty drizzle_server
syn keyword ngxDirectiveThirdParty drizzle_keepalive
-syn keyword ngxDirectiveThirdParty drizzle_module_header
-syn keyword ngxDirectiveThirdParty drizzle_pass
syn keyword ngxDirectiveThirdParty drizzle_query
+syn keyword ngxDirectiveThirdParty drizzle_pass
+syn keyword ngxDirectiveThirdParty drizzle_connect_timeout
+syn keyword ngxDirectiveThirdParty drizzle_send_query_timeout
syn keyword ngxDirectiveThirdParty drizzle_recv_cols_timeout
syn keyword ngxDirectiveThirdParty drizzle_recv_rows_timeout
-syn keyword ngxDirectiveThirdParty drizzle_send_query_timeout
-syn keyword ngxDirectiveThirdParty drizzle_server
+syn keyword ngxDirectiveThirdParty drizzle_buffer_size
+syn keyword ngxDirectiveThirdParty drizzle_module_header
+syn keyword ngxDirectiveThirdParty drizzle_status
endif
diff --git a/syntax/modules/dynamic-etags.vim b/syntax/modules/dynamic-etags.vim
index 9655fd6a..cf6ba85e 100644
--- a/syntax/modules/dynamic-etags.vim
+++ b/syntax/modules/dynamic-etags.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Dynamic ETags Module <https://github.com/kali/nginx-dynamic-etags>
-" Attempt at handling ETag / If-None-Match on proxied content.
+" Attempt at handling ETag / If-None-Match on proxied content.
syn keyword ngxDirectiveThirdParty dynamic_etags
diff --git a/syntax/modules/echo.vim b/syntax/modules/echo.vim
index 062a856c..317e65e9 100644
--- a/syntax/modules/echo.vim
+++ b/syntax/modules/echo.vim
@@ -1,24 +1,25 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
-" Echo Module <https://github.com/openresty/echo-nginx-module>
-" Brings 'echo', 'sleep', 'time', 'exec' and more shell-style goodies to Nginx config file.
+" Echo Module <https://www.nginx.com/resources/wiki/modules/echo/>
+" Bringing the power of "echo", "sleep", "time" and more to Nginx's config file
syn keyword ngxDirectiveThirdParty echo
-syn keyword ngxDirectiveThirdParty echo_after_body
-syn keyword ngxDirectiveThirdParty echo_before_body
-syn keyword ngxDirectiveThirdParty echo_blocking_sleep
syn keyword ngxDirectiveThirdParty echo_duplicate
-syn keyword ngxDirectiveThirdParty echo_end
-syn keyword ngxDirectiveThirdParty echo_exec
syn keyword ngxDirectiveThirdParty echo_flush
-syn keyword ngxDirectiveThirdParty echo_foreach_split
-syn keyword ngxDirectiveThirdParty echo_location
-syn keyword ngxDirectiveThirdParty echo_location_async
-syn keyword ngxDirectiveThirdParty echo_read_request_body
-syn keyword ngxDirectiveThirdParty echo_request_body
-syn keyword ngxDirectiveThirdParty echo_reset_timer
syn keyword ngxDirectiveThirdParty echo_sleep
-syn keyword ngxDirectiveThirdParty echo_subrequest
+syn keyword ngxDirectiveThirdParty echo_blocking_sleep
+syn keyword ngxDirectiveThirdParty echo_reset_timer
+syn keyword ngxDirectiveThirdParty echo_read_request_body
+syn keyword ngxDirectiveThirdParty echo_location_async
+syn keyword ngxDirectiveThirdParty echo_location
syn keyword ngxDirectiveThirdParty echo_subrequest_async
+syn keyword ngxDirectiveThirdParty echo_subrequest
+syn keyword ngxDirectiveThirdParty echo_foreach_split
+syn keyword ngxDirectiveThirdParty echo_end
+syn keyword ngxDirectiveThirdParty echo_request_body
+syn keyword ngxDirectiveThirdParty echo_exec
+syn keyword ngxDirectiveThirdParty echo_status
+syn keyword ngxDirectiveThirdParty echo_before_body
+syn keyword ngxDirectiveThirdParty echo_after_body
endif
diff --git a/syntax/modules/encrypted-session.vim b/syntax/modules/encrypted-session.vim
index 1450ec11..17e98d95 100644
--- a/syntax/modules/encrypted-session.vim
+++ b/syntax/modules/encrypted-session.vim
@@ -9,5 +9,4 @@ syn keyword ngxDirectiveThirdParty set_encrypt_session
syn keyword ngxDirectiveThirdParty set_decrypt_session
-
endif
diff --git a/syntax/modules/events.vim b/syntax/modules/events.vim
index 56578406..d6d1ca97 100644
--- a/syntax/modules/events.vim
+++ b/syntax/modules/events.vim
@@ -2,8 +2,8 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Events Module (DEPRECATED) <http://docs.dutov.org/nginx_modules_events_en.html>
" Provides options for start/stop events.
-syn keyword ngxDirectiveThirdParty on_start
-syn keyword ngxDirectiveThirdParty on_stop
+syn keyword ngxDirectiveDeprecated on_start
+syn keyword ngxDirectiveDeprecated on_stop
endif
diff --git a/syntax/modules/fancyindex.vim b/syntax/modules/fancyindex.vim
index 423b5524..0e66717a 100644
--- a/syntax/modules/fancyindex.vim
+++ b/syntax/modules/fancyindex.vim
@@ -3,12 +3,18 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Fancy Indexes Module <https://github.com/aperezdc/ngx-fancyindex>
" Like the built-in autoindex module, but fancier.
syn keyword ngxDirectiveThirdParty fancyindex
+syn keyword ngxDirectiveThirdParty fancyindex_default_sort
+syn keyword ngxDirectiveThirdParty fancyindex_directories_first
+syn keyword ngxDirectiveThirdParty fancyindex_css_href
syn keyword ngxDirectiveThirdParty fancyindex_exact_size
+syn keyword ngxDirectiveThirdParty fancyindex_name_length
syn keyword ngxDirectiveThirdParty fancyindex_footer
syn keyword ngxDirectiveThirdParty fancyindex_header
+syn keyword ngxDirectiveThirdParty fancyindex_show_path
+syn keyword ngxDirectiveThirdParty fancyindex_ignore
+syn keyword ngxDirectiveThirdParty fancyindex_hide_symlinks
syn keyword ngxDirectiveThirdParty fancyindex_localtime
-syn keyword ngxDirectiveThirdParty fancyindex_readme
-syn keyword ngxDirectiveThirdParty fancyindex_readme_mode
+syn keyword ngxDirectiveThirdParty fancyindex_time_format
endif
diff --git a/syntax/modules/geoip.vim b/syntax/modules/geoip.vim
index 4f7409ce..3b9569b6 100644
--- a/syntax/modules/geoip.vim
+++ b/syntax/modules/geoip.vim
@@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" GeoIP Module (DEPRECATED) <http://wiki.nginx.org/NginxHttp3rdPartyGeoIPModule>
" Country code lookups via the MaxMind GeoIP API.
-syn keyword ngxDirectiveThirdParty geoip_country_file
+syn keyword ngxDirectiveDeprecated geoip_country_file
endif
diff --git a/syntax/modules/geoip2.vim b/syntax/modules/geoip2.vim
new file mode 100644
index 00000000..c6d7822c
--- /dev/null
+++ b/syntax/modules/geoip2.vim
@@ -0,0 +1,8 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" GeoIP 2 Module <https://github.com/leev/ngx_http_geoip2_module>
+" Creates variables with values from the maxmind geoip2 databases based on the client IP
+syn keyword ngxDirectiveThirdParty geoip2
+
+
+endif
diff --git a/syntax/modules/gridfs.vim b/syntax/modules/gridfs.vim
index b65ec1d9..100f6ab9 100644
--- a/syntax/modules/gridfs.vim
+++ b/syntax/modules/gridfs.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" GridFS Module <https://github.com/mdirolf/nginx-gridfs>
-" Nginx module for serving files from MongoDB's GridFS
+" Nginx module for serving files from MongoDB's GridFS
syn keyword ngxDirectiveThirdParty gridfs
diff --git a/syntax/modules/http-accounting.vim b/syntax/modules/http-accounting.vim
index fbe2defa..3348480a 100644
--- a/syntax/modules/http-accounting.vim
+++ b/syntax/modules/http-accounting.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" HTTP Accounting Module <https://github.com/Lax/ngx_http_accounting_module>
-" Add traffic stat function to nginx. Useful for http accounting based on nginx configuration logic
+" Add traffic stat function to nginx. Useful for http accounting based on nginx configuration logic
syn keyword ngxDirectiveThirdParty http_accounting
syn keyword ngxDirectiveThirdParty http_accounting_log
syn keyword ngxDirectiveThirdParty http_accounting_id
diff --git a/syntax/modules/http-auth-digest.vim b/syntax/modules/http-auth-digest.vim
index ff850a61..000d0d50 100644
--- a/syntax/modules/http-auth-digest.vim
+++ b/syntax/modules/http-auth-digest.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Nginx Digest Authentication module <https://github.com/atomx/nginx-http-auth-digest>
-" Digest Authentication for Nginx
+" Digest Authentication for Nginx
syn keyword ngxDirectiveThirdParty auth_digest
syn keyword ngxDirectiveThirdParty auth_digest_user_file
syn keyword ngxDirectiveThirdParty auth_digest_timeout
diff --git a/syntax/modules/http-auth-request.vim b/syntax/modules/http-auth-request.vim
index 9238cd5c..9d6d697a 100644
--- a/syntax/modules/http-auth-request.vim
+++ b/syntax/modules/http-auth-request.vim
@@ -2,8 +2,8 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" HTTP Auth Request Module <http://nginx.org/en/docs/http/ngx_http_auth_request_module.html>
" Implements client authorization based on the result of a subrequest
-syn keyword ngxDirectiveThirdParty auth_request
-syn keyword ngxDirectiveThirdParty auth_request_set
+" syn keyword ngxDirectiveThirdParty auth_request
+" syn keyword ngxDirectiveThirdParty auth_request_set
endif
diff --git a/syntax/modules/http-concat.vim b/syntax/modules/http-concat.vim
index fbd4d828..cc3dfef2 100644
--- a/syntax/modules/http-concat.vim
+++ b/syntax/modules/http-concat.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" HTTP Concatenation module for Nginx <https://github.com/alibaba/nginx-http-concat>
-" A Nginx module for concatenating files in a given context: CSS and JS files usually
+" A Nginx module for concatenating files in a given context: CSS and JS files usually
syn keyword ngxDirectiveThirdParty concat
syn keyword ngxDirectiveThirdParty concat_types
syn keyword ngxDirectiveThirdParty concat_unique
diff --git a/syntax/modules/http-internal-redirect.vim b/syntax/modules/http-internal-redirect.vim
index 2484dc8a..2f67aa82 100644
--- a/syntax/modules/http-internal-redirect.vim
+++ b/syntax/modules/http-internal-redirect.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" HTTP Internal Redirect Module <https://github.com/flygoast/ngx_http_internal_redirect>
-" Make an internal redirect to the uri specified according to the condition specified.
+" Make an internal redirect to the uri specified according to the condition specified.
syn keyword ngxDirectiveThirdParty internal_redirect_if
syn keyword ngxDirectiveThirdParty internal_redirect_if_no_postponed
diff --git a/syntax/modules/http-push.vim b/syntax/modules/http-push.vim
index d53ad5e1..f9f5062f 100644
--- a/syntax/modules/http-push.vim
+++ b/syntax/modules/http-push.vim
@@ -2,11 +2,11 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" HTTP Push Module (DEPRECATED) <http://pushmodule.slact.net/>
" Turn Nginx into an adept long-polling HTTP Push (Comet) server.
-syn keyword ngxDirectiveThirdParty push_buffer_size
-syn keyword ngxDirectiveThirdParty push_listener
-syn keyword ngxDirectiveThirdParty push_message_timeout
-syn keyword ngxDirectiveThirdParty push_queue_messages
-syn keyword ngxDirectiveThirdParty push_sender
+syn keyword ngxDirectiveDeprecated push_buffer_size
+syn keyword ngxDirectiveDeprecated push_listener
+syn keyword ngxDirectiveDeprecated push_message_timeout
+syn keyword ngxDirectiveDeprecated push_queue_messages
+syn keyword ngxDirectiveDeprecated push_sender
endif
diff --git a/syntax/modules/http-redis.vim b/syntax/modules/http-redis.vim
index 95a3a34a..a4e1958e 100644
--- a/syntax/modules/http-redis.vim
+++ b/syntax/modules/http-redis.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" HTTP Redis Module <https://www.nginx.com/resources/wiki/modules/redis/>
-" Redis <http://code.google.com/p/redis/> support.>
+" Redis <http://code.google.com/p/redis/> support.
syn keyword ngxDirectiveThirdParty redis_bind
syn keyword ngxDirectiveThirdParty redis_buffer_size
syn keyword ngxDirectiveThirdParty redis_connect_timeout
diff --git a/syntax/modules/iconv.vim b/syntax/modules/iconv.vim
index 6480895a..40ad3d9a 100644
--- a/syntax/modules/iconv.vim
+++ b/syntax/modules/iconv.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Iconv Module <https://github.com/calio/iconv-nginx-module>
-" A character conversion nginx module using libiconv
+" A character conversion nginx module using libiconv
syn keyword ngxDirectiveThirdParty set_iconv
syn keyword ngxDirectiveThirdParty iconv_buffer_size
syn keyword ngxDirectiveThirdParty iconv_filter
diff --git a/syntax/modules/js.vim b/syntax/modules/js.vim
new file mode 100644
index 00000000..756a6c1e
--- /dev/null
+++ b/syntax/modules/js.vim
@@ -0,0 +1,11 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" JS Module <https://github.com/peter-leonov/ngx_http_js_module>
+" Reflect the nginx functionality in JS
+syn keyword ngxDirectiveThirdParty js
+syn keyword ngxDirectiveThirdParty js_access
+syn keyword ngxDirectiveThirdParty js_load
+syn keyword ngxDirectiveThirdParty js_set
+
+
+endif
diff --git a/syntax/modules/log-if.vim b/syntax/modules/log-if.vim
index 2e5b4ca3..852b33ee 100644
--- a/syntax/modules/log-if.vim
+++ b/syntax/modules/log-if.vim
@@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Log If Module <https://github.com/cfsego/ngx_log_if>
" Conditional accesslog for nginx
-syn keyword ngxDirectiveThirdParty access_log_bypass_if
+syn keyword ngxDirectiveThirdParty access_log_bypass_if
endif
diff --git a/syntax/modules/log-request-speed.vim b/syntax/modules/log-request-speed.vim
index 792e2e7b..374538fb 100644
--- a/syntax/modules/log-request-speed.vim
+++ b/syntax/modules/log-request-speed.vim
@@ -2,8 +2,8 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Log Request Speed (DEPRECATED) <http://wiki.nginx.org/NginxHttpLogRequestSpeed>
" Log the time it took to process each request.
-syn keyword ngxDirectiveThirdParty log_request_speed_filter
-syn keyword ngxDirectiveThirdParty log_request_speed_filter_timeout
+syn keyword ngxDirectiveDeprecated log_request_speed_filter
+syn keyword ngxDirectiveDeprecated log_request_speed_filter_timeout
endif
diff --git a/syntax/modules/lua-upstream.vim b/syntax/modules/lua-upstream.vim
index cebee545..95166f35 100644
--- a/syntax/modules/lua-upstream.vim
+++ b/syntax/modules/lua-upstream.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Lua Upstream Module <https://github.com/openresty/lua-upstream-nginx-module>
-" Nginx C module to expose Lua API to ngx_lua for Nginx upstreams
+" Nginx C module to expose Lua API to ngx_lua for Nginx upstreams
endif
diff --git a/syntax/modules/lua.vim b/syntax/modules/lua.vim
index 2fbb2a61..cf3abd86 100644
--- a/syntax/modules/lua.vim
+++ b/syntax/modules/lua.vim
@@ -1,8 +1,9 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Lua Module <https://github.com/openresty/lua-nginx-module>
-" Embed the Power of Lua into NGINX HTTP servers
+" Embed the Power of Lua into NGINX HTTP servers
syn keyword ngxDirectiveThirdParty lua_use_default_type
+syn keyword ngxDirectiveThirdParty lua_malloc_trim
syn keyword ngxDirectiveThirdParty lua_code_cache
syn keyword ngxDirectiveThirdParty lua_regex_cache_max_entries
syn keyword ngxDirectiveThirdParty lua_regex_match_limit
@@ -40,6 +41,10 @@ syn keyword ngxDirectiveThirdParty balancer_by_lua_file
syn keyword ngxDirectiveThirdParty lua_need_request_body
syn keyword ngxDirectiveThirdParty ssl_certificate_by_lua_block
syn keyword ngxDirectiveThirdParty ssl_certificate_by_lua_file
+syn keyword ngxDirectiveThirdParty ssl_session_fetch_by_lua_block
+syn keyword ngxDirectiveThirdParty ssl_session_fetch_by_lua_file
+syn keyword ngxDirectiveThirdParty ssl_session_store_by_lua_block
+syn keyword ngxDirectiveThirdParty ssl_session_store_by_lua_file
syn keyword ngxDirectiveThirdParty lua_shared_dict
syn keyword ngxDirectiveThirdParty lua_socket_connect_timeout
syn keyword ngxDirectiveThirdParty lua_socket_send_timeout
diff --git a/syntax/modules/md5-filter.vim b/syntax/modules/md5-filter.vim
index 2d8df29d..140cbe31 100644
--- a/syntax/modules/md5-filter.vim
+++ b/syntax/modules/md5-filter.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" MD5 Filter Module <https://github.com/kainswor/nginx_md5_filter>
-" A content filter for nginx, which returns the md5 hash of the content otherwise returned.
+" A content filter for nginx, which returns the md5 hash of the content otherwise returned.
syn keyword ngxDirectiveThirdParty md5_filter
diff --git a/syntax/modules/mogilefs.vim b/syntax/modules/mogilefs.vim
index 340c60f5..b8d55a85 100644
--- a/syntax/modules/mogilefs.vim
+++ b/syntax/modules/mogilefs.vim
@@ -1,15 +1,16 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Mogilefs Module <http://www.grid.net.ru/nginx/mogilefs.en.html>
-" Implements a MogileFS client, provides a replace to the Perlbal reverse proxy of the original MogileFS.
-syn keyword ngxDirectiveThirdParty mogilefs_connect_timeout
-syn keyword ngxDirectiveThirdParty mogilefs_domain
+" MogileFS client for nginx web server.
+syn keyword ngxDirectiveThirdParty mogilefs_pass
syn keyword ngxDirectiveThirdParty mogilefs_methods
+syn keyword ngxDirectiveThirdParty mogilefs_domain
+syn keyword ngxDirectiveThirdParty mogilefs_class
+syn keyword ngxDirectiveThirdParty mogilefs_tracker
syn keyword ngxDirectiveThirdParty mogilefs_noverify
-syn keyword ngxDirectiveThirdParty mogilefs_pass
-syn keyword ngxDirectiveThirdParty mogilefs_read_timeout
+syn keyword ngxDirectiveThirdParty mogilefs_connect_timeout
syn keyword ngxDirectiveThirdParty mogilefs_send_timeout
-syn keyword ngxDirectiveThirdParty mogilefs_tracker
+syn keyword ngxDirectiveThirdParty mogilefs_read_timeout
endif
diff --git a/syntax/modules/mp4-streaming.vim b/syntax/modules/mp4-streaming.vim
index 1b7f417d..4e1ce008 100644
--- a/syntax/modules/mp4-streaming.vim
+++ b/syntax/modules/mp4-streaming.vim
@@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" MP4 Streaming Lite Module <https://www.nginx.com/resources/wiki/modules/mp4_streaming/>
" Will seek to a certain time within H.264/MP4 files when provided with a 'start' parameter in the URL.
-syn keyword ngxDirectiveThirdParty mp4
+" syn keyword ngxDirectiveThirdParty mp4
endif
diff --git a/syntax/modules/nchan.vim b/syntax/modules/nchan.vim
new file mode 100644
index 00000000..9884af91
--- /dev/null
+++ b/syntax/modules/nchan.vim
@@ -0,0 +1,56 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Nchan Module <https://nchan.slact.net/>
+" Fast, horizontally scalable, multiprocess pub/sub queuing server and proxy for HTTP, long-polling, Websockets and EventSource (SSE)
+syn keyword ngxDirectiveThirdParty nchan_channel_id
+syn keyword ngxDirectiveThirdParty nchan_channel_id_split_delimiter
+syn keyword ngxDirectiveThirdParty nchan_eventsource_event
+syn keyword ngxDirectiveThirdParty nchan_longpoll_multipart_response
+syn keyword ngxDirectiveThirdParty nchan_publisher
+syn keyword ngxDirectiveThirdParty nchan_publisher_channel_id
+syn keyword ngxDirectiveThirdParty nchan_publisher_upstream_request
+syn keyword ngxDirectiveThirdParty nchan_pubsub
+syn keyword ngxDirectiveThirdParty nchan_subscribe_request
+syn keyword ngxDirectiveThirdParty nchan_subscriber
+syn keyword ngxDirectiveThirdParty nchan_subscriber_channel_id
+syn keyword ngxDirectiveThirdParty nchan_subscriber_compound_etag_message_id
+syn keyword ngxDirectiveThirdParty nchan_subscriber_first_message
+syn keyword ngxDirectiveThirdParty nchan_subscriber_http_raw_stream_separator
+syn keyword ngxDirectiveThirdParty nchan_subscriber_last_message_id
+syn keyword ngxDirectiveThirdParty nchan_subscriber_message_id_custom_etag_header
+syn keyword ngxDirectiveThirdParty nchan_subscriber_timeout
+syn keyword ngxDirectiveThirdParty nchan_unsubscribe_request
+syn keyword ngxDirectiveThirdParty nchan_websocket_ping_interval
+syn keyword ngxDirectiveThirdParty nchan_authorize_request
+syn keyword ngxDirectiveThirdParty nchan_max_reserved_memory
+syn keyword ngxDirectiveThirdParty nchan_message_buffer_length
+syn keyword ngxDirectiveThirdParty nchan_message_timeout
+syn keyword ngxDirectiveThirdParty nchan_redis_idle_channel_cache_timeout
+syn keyword ngxDirectiveThirdParty nchan_redis_namespace
+syn keyword ngxDirectiveThirdParty nchan_redis_pass
+syn keyword ngxDirectiveThirdParty nchan_redis_ping_interval
+syn keyword ngxDirectiveThirdParty nchan_redis_server
+syn keyword ngxDirectiveThirdParty nchan_redis_storage_mode
+syn keyword ngxDirectiveThirdParty nchan_redis_url
+syn keyword ngxDirectiveThirdParty nchan_store_messages
+syn keyword ngxDirectiveThirdParty nchan_use_redis
+syn keyword ngxDirectiveThirdParty nchan_access_control_allow_origin
+syn keyword ngxDirectiveThirdParty nchan_channel_group
+syn keyword ngxDirectiveThirdParty nchan_channel_group_accounting
+syn keyword ngxDirectiveThirdParty nchan_group_location
+syn keyword ngxDirectiveThirdParty nchan_group_max_channels
+syn keyword ngxDirectiveThirdParty nchan_group_max_messages
+syn keyword ngxDirectiveThirdParty nchan_group_max_messages_disk
+syn keyword ngxDirectiveThirdParty nchan_group_max_messages_memory
+syn keyword ngxDirectiveThirdParty nchan_group_max_subscribers
+syn keyword ngxDirectiveThirdParty nchan_subscribe_existing_channels_only
+syn keyword ngxDirectiveThirdParty nchan_channel_event_string
+syn keyword ngxDirectiveThirdParty nchan_channel_events_channel_id
+syn keyword ngxDirectiveThirdParty nchan_stub_status
+syn keyword ngxDirectiveThirdParty nchan_max_channel_id_length
+syn keyword ngxDirectiveThirdParty nchan_max_channel_subscribers
+syn keyword ngxDirectiveThirdParty nchan_channel_timeout
+syn keyword ngxDirectiveThirdParty nchan_storage_engine
+
+
+endif
diff --git a/syntax/modules/ocsp-proxy.vim b/syntax/modules/ocsp-proxy.vim
index 8c1e54a8..cbcbc92c 100644
--- a/syntax/modules/ocsp-proxy.vim
+++ b/syntax/modules/ocsp-proxy.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" OCSP Proxy Module <https://github.com/kyprizel/nginx_ocsp_proxy-module>
-" Nginx OCSP processing module designed for response caching
+" Nginx OCSP processing module designed for response caching
syn keyword ngxDirectiveThirdParty ocsp_proxy
syn keyword ngxDirectiveThirdParty ocsp_cache_timeout
diff --git a/syntax/modules/openssl-version.vim b/syntax/modules/openssl-version.vim
index 58caffd2..cf86d36d 100644
--- a/syntax/modules/openssl-version.vim
+++ b/syntax/modules/openssl-version.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" OpenSSL Version Module <https://github.com/apcera/nginx-openssl-version>
-" Nginx OpenSSL version check at startup
+" Nginx OpenSSL version check at startup
syn keyword ngxDirectiveThirdParty openssl_version_minimum
syn keyword ngxDirectiveThirdParty openssl_builddate_minimum
diff --git a/syntax/modules/php-memcache-standard-balancer.vim b/syntax/modules/php-memcache-standard-balancer.vim
index 7f99ac4c..945b875e 100644
--- a/syntax/modules/php-memcache-standard-balancer.vim
+++ b/syntax/modules/php-memcache-standard-balancer.vim
@@ -1,6 +1,6 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
-" PHP Memcache Standard Balancer Module <>
+" PHP Memcache Standard Balancer Module <https://github.com/replay/ngx_http_php_memcache_standard_balancer>
" Loadbalancer that is compatible to the standard loadbalancer in the php-memcache module
syn keyword ngxDirectiveThirdParty hash_key
diff --git a/syntax/modules/php-session.vim b/syntax/modules/php-session.vim
index fd1a05f6..14971cb4 100644
--- a/syntax/modules/php-session.vim
+++ b/syntax/modules/php-session.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" PHP Session Module <https://github.com/replay/ngx_http_php_session>
-" Nginx module to parse php sessions
+" Nginx module to parse php sessions
syn keyword ngxDirectiveThirdParty php_session_parse
syn keyword ngxDirectiveThirdParty php_session_strip_formatting
diff --git a/syntax/modules/phusion-passenger.vim b/syntax/modules/phusion-passenger.vim
index 7285660f..ebda7dc1 100644
--- a/syntax/modules/phusion-passenger.vim
+++ b/syntax/modules/phusion-passenger.vim
@@ -1,23 +1,84 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
-" Phusion Passenger <https://www.phusionpassenger.com/>
-" Easy and robust deployment of Ruby on Rails application on Apache and Nginx webservers.
+" Phusion Passenger Module <https://www.phusionpassenger.com/library/config/nginx/>
+" Passenger is an open source web application server.
+syn keyword ngxDirectiveThirdParty passenger_root
+syn keyword ngxDirectiveThirdParty passenger_enabled
syn keyword ngxDirectiveThirdParty passenger_base_uri
+syn keyword ngxDirectiveThirdParty passenger_document_root
+syn keyword ngxDirectiveThirdParty passenger_ruby
+syn keyword ngxDirectiveThirdParty passenger_python
+syn keyword ngxDirectiveThirdParty passenger_nodejs
+syn keyword ngxDirectiveThirdParty passenger_meteor_app_settings
+syn keyword ngxDirectiveThirdParty passenger_app_env
+syn keyword ngxDirectiveThirdParty passenger_app_root
+syn keyword ngxDirectiveThirdParty passenger_app_group_name
+syn keyword ngxDirectiveThirdParty passenger_app_type
+syn keyword ngxDirectiveThirdParty passenger_startup_file
+syn keyword ngxDirectiveThirdParty passenger_restart_dir
+syn keyword ngxDirectiveThirdParty passenger_spawn_method
+syn keyword ngxDirectiveThirdParty passenger_env_var
+syn keyword ngxDirectiveThirdParty passenger_load_shell_envvars
+syn keyword ngxDirectiveThirdParty passenger_rolling_restarts
+syn keyword ngxDirectiveThirdParty passenger_resist_deployment_errors
+syn keyword ngxDirectiveThirdParty passenger_user_switching
+syn keyword ngxDirectiveThirdParty passenger_user
+syn keyword ngxDirectiveThirdParty passenger_group
syn keyword ngxDirectiveThirdParty passenger_default_user
-syn keyword ngxDirectiveThirdParty passenger_enabled
-syn keyword ngxDirectiveThirdParty passenger_log_level
-syn keyword ngxDirectiveThirdParty passenger_max_instances_per_app
+syn keyword ngxDirectiveThirdParty passenger_default_group
+syn keyword ngxDirectiveThirdParty passenger_show_version_in_header
+syn keyword ngxDirectiveThirdParty passenger_friendly_error_pages
+syn keyword ngxDirectiveThirdParty passenger_disable_security_update_check
+syn keyword ngxDirectiveThirdParty passenger_security_update_check_proxy
syn keyword ngxDirectiveThirdParty passenger_max_pool_size
+syn keyword ngxDirectiveThirdParty passenger_min_instances
+syn keyword ngxDirectiveThirdParty passenger_max_instances
+syn keyword ngxDirectiveThirdParty passenger_max_instances_per_app
syn keyword ngxDirectiveThirdParty passenger_pool_idle_time
-syn keyword ngxDirectiveThirdParty passenger_root
-syn keyword ngxDirectiveThirdParty passenger_ruby
-syn keyword ngxDirectiveThirdParty passenger_use_global_queue
-syn keyword ngxDirectiveThirdParty passenger_user_switching
-syn keyword ngxDirectiveThirdParty rack_env
-syn keyword ngxDirectiveThirdParty rails_app_spawner_idle_time
-syn keyword ngxDirectiveThirdParty rails_env
-syn keyword ngxDirectiveThirdParty rails_framework_spawner_idle_time
-syn keyword ngxDirectiveThirdParty rails_spawn_method
+syn keyword ngxDirectiveThirdParty passenger_max_preloader_idle_time
+syn keyword ngxDirectiveThirdParty passenger_force_max_concurrent_requests_per_process
+syn keyword ngxDirectiveThirdParty passenger_start_timeout
+syn keyword ngxDirectiveThirdParty passenger_concurrency_model
+syn keyword ngxDirectiveThirdParty passenger_thread_count
+syn keyword ngxDirectiveThirdParty passenger_max_requests
+syn keyword ngxDirectiveThirdParty passenger_max_request_time
+syn keyword ngxDirectiveThirdParty passenger_memory_limit
+syn keyword ngxDirectiveThirdParty passenger_stat_throttle_rate
+syn keyword ngxDirectiveThirdParty passenger_core_file_descriptor_ulimit
+syn keyword ngxDirectiveThirdParty passenger_app_file_descriptor_ulimit
+syn keyword ngxDirectiveThirdParty passenger_pre_start
+syn keyword ngxDirectiveThirdParty passenger_set_header
+syn keyword ngxDirectiveThirdParty passenger_max_request_queue_size
+syn keyword ngxDirectiveThirdParty passenger_request_queue_overflow_status_code
+syn keyword ngxDirectiveThirdParty passenger_sticky_sessions
+syn keyword ngxDirectiveThirdParty passenger_sticky_sessions_cookie_name
+syn keyword ngxDirectiveThirdParty passenger_abort_websockets_on_process_shutdown
+syn keyword ngxDirectiveThirdParty passenger_ignore_client_abort
+syn keyword ngxDirectiveThirdParty passenger_intercept_errors
+syn keyword ngxDirectiveThirdParty passenger_pass_header
+syn keyword ngxDirectiveThirdParty passenger_ignore_headers
+syn keyword ngxDirectiveThirdParty passenger_headers_hash_bucket_size
+syn keyword ngxDirectiveThirdParty passenger_headers_hash_max_size
+syn keyword ngxDirectiveThirdParty passenger_buffer_response
+syn keyword ngxDirectiveThirdParty passenger_response_buffer_high_watermark
+syn keyword ngxDirectiveThirdParty passenger_buffer_size, passenger_buffers, passenger_busy_buffers_size
+syn keyword ngxDirectiveThirdParty passenger_socket_backlog
+syn keyword ngxDirectiveThirdParty passenger_log_level
+syn keyword ngxDirectiveThirdParty passenger_log_file
+syn keyword ngxDirectiveThirdParty passenger_file_descriptor_log_file
+syn keyword ngxDirectiveThirdParty passenger_debugger
+syn keyword ngxDirectiveThirdParty passenger_instance_registry_dir
+syn keyword ngxDirectiveThirdParty passenger_data_buffer_dir
+syn keyword ngxDirectiveThirdParty passenger_fly_with
+syn keyword ngxDirectiveThirdParty union_station_support
+syn keyword ngxDirectiveThirdParty union_station_key
+syn keyword ngxDirectiveThirdParty union_station_proxy_address
+syn keyword ngxDirectiveThirdParty union_station_filter
+syn keyword ngxDirectiveThirdParty union_station_gateway_address
+syn keyword ngxDirectiveThirdParty union_station_gateway_port
+syn keyword ngxDirectiveThirdParty union_station_gateway_cert
+syn keyword ngxDirectiveDeprecated rails_spawn_method
+syn keyword ngxDirectiveDeprecated passenger_debug_log_file
endif
diff --git a/syntax/modules/rdns.vim b/syntax/modules/rdns.vim
index b4bab59d..36e03260 100644
--- a/syntax/modules/rdns.vim
+++ b/syntax/modules/rdns.vim
@@ -4,7 +4,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Make a reverse DNS (rDNS) lookup for incoming connection and provides simple access control of incoming hostname by allow/deny rules
syn keyword ngxDirectiveThirdParty rdns
syn keyword ngxDirectiveThirdParty rdns_allow
-syn keyword ngxDirectiveThirdParty rdns_deny
+syn keyword ngxDirectiveThirdParty rdns_deny
endif
diff --git a/syntax/modules/rds-json.vim b/syntax/modules/rds-json.vim
index 81854e33..384f6b48 100644
--- a/syntax/modules/rds-json.vim
+++ b/syntax/modules/rds-json.vim
@@ -1,11 +1,17 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" RDS JSON Module <https://github.com/openresty/rds-json-nginx-module>
-" Help ngx_drizzle and other DBD modules emit JSON data.
+" An output filter that formats Resty DBD Streams generated by ngx_drizzle and others to JSON
syn keyword ngxDirectiveThirdParty rds_json
-syn keyword ngxDirectiveThirdParty rds_json_content_type
+syn keyword ngxDirectiveThirdParty rds_json_buffer_size
syn keyword ngxDirectiveThirdParty rds_json_format
+syn keyword ngxDirectiveThirdParty rds_json_root
+syn keyword ngxDirectiveThirdParty rds_json_success_property
+syn keyword ngxDirectiveThirdParty rds_json_user_property
+syn keyword ngxDirectiveThirdParty rds_json_errcode_key
+syn keyword ngxDirectiveThirdParty rds_json_errstr_key
syn keyword ngxDirectiveThirdParty rds_json_ret
+syn keyword ngxDirectiveThirdParty rds_json_content_type
endif
diff --git a/syntax/modules/redis.vim b/syntax/modules/redis.vim
new file mode 100644
index 00000000..45a6542e
--- /dev/null
+++ b/syntax/modules/redis.vim
@@ -0,0 +1,15 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Redis Module <https://www.nginx.com/resources/wiki/modules/redis/>
+" Use this module to perform simple caching
+syn keyword ngxDirectiveThirdParty redis_pass
+syn keyword ngxDirectiveThirdParty redis_bind
+syn keyword ngxDirectiveThirdParty redis_connect_timeout
+syn keyword ngxDirectiveThirdParty redis_read_timeout
+syn keyword ngxDirectiveThirdParty redis_send_timeout
+syn keyword ngxDirectiveThirdParty redis_buffer_size
+syn keyword ngxDirectiveThirdParty redis_next_upstream
+syn keyword ngxDirectiveThirdParty redis_gzip_flag
+
+
+endif
diff --git a/syntax/modules/replace-filter.vim b/syntax/modules/replace-filter.vim
index b41f1055..2643f05e 100644
--- a/syntax/modules/replace-filter.vim
+++ b/syntax/modules/replace-filter.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Replace Filter Module <https://github.com/openresty/replace-filter-nginx-module>
-" Streaming regular expression replacement in response bodies
+" Streaming regular expression replacement in response bodies
syn keyword ngxDirectiveThirdParty replace_filter
syn keyword ngxDirectiveThirdParty replace_filter_types
syn keyword ngxDirectiveThirdParty replace_filter_max_buffered_size
diff --git a/syntax/modules/rtmp.vim b/syntax/modules/rtmp.vim
index 94812d41..84234d77 100644
--- a/syntax/modules/rtmp.vim
+++ b/syntax/modules/rtmp.vim
@@ -3,10 +3,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" RTMP Module <https://github.com/arut/nginx-rtmp-module>
" NGINX-based Media Streaming Server
syn keyword ngxDirectiveThirdParty rtmp
-syn keyword ngxDirectiveThirdParty server
-syn keyword ngxDirectiveThirdParty listen
+" syn keyword ngxDirectiveThirdParty server
+" syn keyword ngxDirectiveThirdParty listen
syn keyword ngxDirectiveThirdParty application
-syn keyword ngxDirectiveThirdParty timeout
+" syn keyword ngxDirectiveThirdParty timeout
syn keyword ngxDirectiveThirdParty ping
syn keyword ngxDirectiveThirdParty ping_timeout
syn keyword ngxDirectiveThirdParty max_streams
@@ -16,8 +16,8 @@ syn keyword ngxDirectiveThirdParty max_queue
syn keyword ngxDirectiveThirdParty max_message
syn keyword ngxDirectiveThirdParty out_queue
syn keyword ngxDirectiveThirdParty out_cork
-syn keyword ngxDirectiveThirdParty allow
-syn keyword ngxDirectiveThirdParty deny
+" syn keyword ngxDirectiveThirdParty allow
+" syn keyword ngxDirectiveThirdParty deny
syn keyword ngxDirectiveThirdParty exec_push
syn keyword ngxDirectiveThirdParty exec_pull
syn keyword ngxDirectiveThirdParty exec
@@ -94,8 +94,8 @@ syn keyword ngxDirectiveThirdParty dash_fragment
syn keyword ngxDirectiveThirdParty dash_playlist_length
syn keyword ngxDirectiveThirdParty dash_nested
syn keyword ngxDirectiveThirdParty dash_cleanup
-syn keyword ngxDirectiveThirdParty access_log
-syn keyword ngxDirectiveThirdParty log_format
+" syn keyword ngxDirectiveThirdParty access_log
+" syn keyword ngxDirectiveThirdParty log_format
syn keyword ngxDirectiveThirdParty max_connections
syn keyword ngxDirectiveThirdParty rtmp_stat
syn keyword ngxDirectiveThirdParty rtmp_stat_stylesheet
diff --git a/syntax/modules/rtmpt-proxy.vim b/syntax/modules/rtmpt-proxy.vim
index 4dd066b8..de73b1ad 100644
--- a/syntax/modules/rtmpt-proxy.vim
+++ b/syntax/modules/rtmpt-proxy.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" RTMPT Module <https://github.com/kwojtek/nginx-rtmpt-proxy-module>
-" Module for nginx to proxy rtmp using http protocol
+" Module for nginx to proxy rtmp using http protocol
syn keyword ngxDirectiveThirdParty rtmpt_proxy_target
syn keyword ngxDirectiveThirdParty rtmpt_proxy_rtmp_timeout
syn keyword ngxDirectiveThirdParty rtmpt_proxy_http_timeout
@@ -9,4 +9,5 @@ syn keyword ngxDirectiveThirdParty rtmpt_proxy
syn keyword ngxDirectiveThirdParty rtmpt_proxy_stat
syn keyword ngxDirectiveThirdParty rtmpt_proxy_stylesheet
+
endif
diff --git a/syntax/modules/secure-download.vim b/syntax/modules/secure-download.vim
index 67622140..846fdd34 100644
--- a/syntax/modules/secure-download.vim
+++ b/syntax/modules/secure-download.vim
@@ -1,11 +1,10 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
-" Secure Download <https://www.nginx.com/resources/wiki/modules/secure_download/>
-" Create expiring links.
+" Secure Download Module <https://www.nginx.com/resources/wiki/modules/secure_download/>
+" Enables you to create links which are only valid until a certain datetime is reached
syn keyword ngxDirectiveThirdParty secure_download
-syn keyword ngxDirectiveThirdParty secure_download_fail_location
-syn keyword ngxDirectiveThirdParty secure_download_path_mode
syn keyword ngxDirectiveThirdParty secure_download_secret
+syn keyword ngxDirectiveThirdParty secure_download_path_mode
endif
diff --git a/syntax/modules/set-hash.vim b/syntax/modules/set-hash.vim
index 0c2d7d78..3939b37f 100644
--- a/syntax/modules/set-hash.vim
+++ b/syntax/modules/set-hash.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Set Hash Module <https://github.com/simpl/ngx_http_set_hash>
-" Nginx module that allows the setting of variables to the value of a variety of hashes
+" Nginx module that allows the setting of variables to the value of a variety of hashes
syn keyword ngxDirectiveThirdParty set_md5
syn keyword ngxDirectiveThirdParty set_md5_upper
syn keyword ngxDirectiveThirdParty set_murmur2
diff --git a/syntax/modules/shibboleth.vim b/syntax/modules/shibboleth.vim
index 77863eb8..2dfd6932 100644
--- a/syntax/modules/shibboleth.vim
+++ b/syntax/modules/shibboleth.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Shibboleth Module <https://github.com/nginx-shib/nginx-http-shibboleth>
-" Shibboleth auth request module for nginx
+" Shibboleth auth request module for nginx
syn keyword ngxDirectiveThirdParty shib_request
syn keyword ngxDirectiveThirdParty shib_request_set
syn keyword ngxDirectiveThirdParty shib_request_use_headers
diff --git a/syntax/modules/slice.vim b/syntax/modules/slice.vim
index 75a935d7..edfa808b 100644
--- a/syntax/modules/slice.vim
+++ b/syntax/modules/slice.vim
@@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Slice Module <https://github.com/alibaba/nginx-http-slice>
" Nginx module for serving a file in slices (reverse byte-range)
-syn keyword ngxDirectiveThirdParty slice
+" syn keyword ngxDirectiveThirdParty slice
syn keyword ngxDirectiveThirdParty slice_arg_begin
syn keyword ngxDirectiveThirdParty slice_arg_end
syn keyword ngxDirectiveThirdParty slice_header
diff --git a/syntax/modules/static-etags.vim b/syntax/modules/static-etags.vim
index dcaebac1..f80b9278 100644
--- a/syntax/modules/static-etags.vim
+++ b/syntax/modules/static-etags.vim
@@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Static Etags Module <https://github.com/mikewest/nginx-static-etags>
" Generate etags for static content
-syn keyword ngxDirectiveThirdParty FileETag
+syn keyword ngxDirectiveThirdParty FileETag
endif
diff --git a/syntax/modules/sticky.vim b/syntax/modules/sticky.vim
index 1bdc5382..dc0b887b 100644
--- a/syntax/modules/sticky.vim
+++ b/syntax/modules/sticky.vim
@@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Sticky Module <https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng>
" Add a sticky cookie to be always forwarded to the same upstream server
-syn keyword ngxDirectiveThirdParty sticky
+" syn keyword ngxDirectiveThirdParty sticky
endif
diff --git a/syntax/modules/stream-echo.vim b/syntax/modules/stream-echo.vim
index 1ca57ad8..77f87362 100644
--- a/syntax/modules/stream-echo.vim
+++ b/syntax/modules/stream-echo.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Stream Echo Module <https://github.com/openresty/stream-echo-nginx-module>
-" TCP/stream echo module for NGINX (a port of ngx_http_echo_module)
+" TCP/stream echo module for NGINX (a port of ngx_http_echo_module)
syn keyword ngxDirectiveThirdParty echo
syn keyword ngxDirectiveThirdParty echo_duplicate
syn keyword ngxDirectiveThirdParty echo_flush_wait
diff --git a/syntax/modules/stream-upsync.vim b/syntax/modules/stream-upsync.vim
index 2769f871..932cacfa 100644
--- a/syntax/modules/stream-upsync.vim
+++ b/syntax/modules/stream-upsync.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Stream Upsync Module <https://github.com/xiaokai-wang/nginx-stream-upsync-module>
-" Sync upstreams from consul or others, dynamiclly modify backend-servers attribute(weight, max_fails,...), needn't reload nginx.
+" Sync upstreams from consul or others, dynamiclly modify backend-servers attribute(weight, max_fails,...), needn't reload nginx.
syn keyword ngxDirectiveThirdParty upsync
syn keyword ngxDirectiveThirdParty upsync_dump_path
syn keyword ngxDirectiveThirdParty upsync_lb
diff --git a/syntax/modules/tarantool-upstream.vim b/syntax/modules/tarantool-upstream.vim
index bebcf304..1acd3ded 100644
--- a/syntax/modules/tarantool-upstream.vim
+++ b/syntax/modules/tarantool-upstream.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Tarantool Upstream Module <https://github.com/tarantool/nginx_upstream_module>
-" Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)
+" Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)
syn keyword ngxDirectiveThirdParty tnt_pass
syn keyword ngxDirectiveThirdParty tnt_http_methods
syn keyword ngxDirectiveThirdParty tnt_http_rest_methods
diff --git a/syntax/modules/tcp-proxy.vim b/syntax/modules/tcp-proxy.vim
index bfe03623..6f7732da 100644
--- a/syntax/modules/tcp-proxy.vim
+++ b/syntax/modules/tcp-proxy.vim
@@ -1,20 +1,19 @@
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
+" Add the feature of tcp proxy with nginx, with health check and status monitor
+syn keyword ngxDirectiveBlock 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 check
syn keyword ngxDirectiveThirdParty check_http_send
syn keyword ngxDirectiveThirdParty check_http_expect_alive
@@ -22,11 +21,11 @@ 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 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
diff --git a/syntax/modules/testcookie.vim b/syntax/modules/testcookie.vim
index 7087a3d4..8dde9fb4 100644
--- a/syntax/modules/testcookie.vim
+++ b/syntax/modules/testcookie.vim
@@ -13,7 +13,7 @@ syn keyword ngxDirectiveThirdParty testcookie_arg
syn keyword ngxDirectiveThirdParty testcookie_max_attempts
syn keyword ngxDirectiveThirdParty testcookie_p3p
syn keyword ngxDirectiveThirdParty testcookie_fallback
-syn keyword ngxDirectiveThirdParty testcookie_whitelist
+syn keyword ngxDirectiveThirdParty testcookie_whitelist
syn keyword ngxDirectiveThirdParty testcookie_pass
syn keyword ngxDirectiveThirdParty testcookie_redirect_via_refresh
syn keyword ngxDirectiveThirdParty testcookie_refresh_template
diff --git a/syntax/modules/types-filter.vim b/syntax/modules/types-filter.vim
index f15e502b..554c6fd8 100644
--- a/syntax/modules/types-filter.vim
+++ b/syntax/modules/types-filter.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Types Filter Module <https://github.com/flygoast/ngx_http_types_filter>
-" Change the `Content-Type` output header depending on an extension variable according to a condition specified in the 'if' clause.
+" Change the `Content-Type` output header depending on an extension variable according to a condition specified in the 'if' clause.
syn keyword ngxDirectiveThirdParty types_filter
syn keyword ngxDirectiveThirdParty types_filter_use_default
diff --git a/syntax/modules/upload-progress.vim b/syntax/modules/upload-progress.vim
index 218b6d76..a66c4633 100644
--- a/syntax/modules/upload-progress.vim
+++ b/syntax/modules/upload-progress.vim
@@ -1,13 +1,15 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Upload Progress Module <https://www.nginx.com/resources/wiki/modules/upload_progress/>
-" Tracks and reports upload progress.
-syn keyword ngxDirectiveThirdParty report_uploads
-syn keyword ngxDirectiveThirdParty track_uploads
+" An upload progress system, that monitors RFC1867 POST upload as they are transmitted to upstream servers
syn keyword ngxDirectiveThirdParty upload_progress
+syn keyword ngxDirectiveThirdParty track_uploads
+syn keyword ngxDirectiveThirdParty report_uploads
syn keyword ngxDirectiveThirdParty upload_progress_content_type
syn keyword ngxDirectiveThirdParty upload_progress_header
+syn keyword ngxDirectiveThirdParty upload_progress_jsonp_parameter
syn keyword ngxDirectiveThirdParty upload_progress_json_output
+syn keyword ngxDirectiveThirdParty upload_progress_jsonp_output
syn keyword ngxDirectiveThirdParty upload_progress_template
diff --git a/syntax/modules/upload.vim b/syntax/modules/upload.vim
index 2699f338..57d2b9b5 100644
--- a/syntax/modules/upload.vim
+++ b/syntax/modules/upload.vim
@@ -1,20 +1,23 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Upload Module <https://www.nginx.com/resources/wiki/modules/upload/>
-" Parses multipart/form-data allowing arbitrary handling of uploaded files.
+" Parses request body storing all files being uploaded to a directory specified by upload_store directive
+syn keyword ngxDirectiveThirdParty upload_pass
+syn keyword ngxDirectiveThirdParty upload_resumable
+syn keyword ngxDirectiveThirdParty upload_store
+syn keyword ngxDirectiveThirdParty upload_state_store
+syn keyword ngxDirectiveThirdParty upload_store_access
+syn keyword ngxDirectiveThirdParty upload_set_form_field
syn keyword ngxDirectiveThirdParty upload_aggregate_form_field
-syn keyword ngxDirectiveThirdParty upload_buffer_size
+syn keyword ngxDirectiveThirdParty upload_pass_form_field
syn keyword ngxDirectiveThirdParty upload_cleanup
-syn keyword ngxDirectiveThirdParty upload_limit_rate
+syn keyword ngxDirectiveThirdParty upload_buffer_size
+syn keyword ngxDirectiveThirdParty upload_max_part_header_len
syn keyword ngxDirectiveThirdParty upload_max_file_size
+syn keyword ngxDirectiveThirdParty upload_limit_rate
syn keyword ngxDirectiveThirdParty upload_max_output_body_len
-syn keyword ngxDirectiveThirdParty upload_max_part_header_len
-syn keyword ngxDirectiveThirdParty upload_pass
+syn keyword ngxDirectiveThirdParty upload_tame_arrays
syn keyword ngxDirectiveThirdParty upload_pass_args
-syn keyword ngxDirectiveThirdParty upload_pass_form_field
-syn keyword ngxDirectiveThirdParty upload_set_form_field
-syn keyword ngxDirectiveThirdParty upload_store
-syn keyword ngxDirectiveThirdParty upload_store_access
endif
diff --git a/syntax/modules/upstream-hash.vim b/syntax/modules/upstream-hash.vim
index b86980ab..68681601 100644
--- a/syntax/modules/upstream-hash.vim
+++ b/syntax/modules/upstream-hash.vim
@@ -2,8 +2,8 @@ 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
+" syn keyword ngxDirectiveDeprecated hash
+syn keyword ngxDirectiveDeprecated hash_again
endif
diff --git a/syntax/modules/upstream-jdomain.vim b/syntax/modules/upstream-jdomain.vim
index ae7eb03d..55468817 100644
--- a/syntax/modules/upstream-jdomain.vim
+++ b/syntax/modules/upstream-jdomain.vim
@@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Upstream Domain Resolve Module <https://www.nginx.com/resources/wiki/modules/domain_resolve/>
" A load-balancer that resolves an upstream domain name asynchronously.
-syn keyword ngxDirectiveThirdParty jdomain
+syn keyword ngxDirectiveThirdParty jdomain
endif
diff --git a/syntax/modules/usptream-ketama-chash.vim b/syntax/modules/usptream-ketama-chash.vim
index 57887a7b..ea454760 100644
--- a/syntax/modules/usptream-ketama-chash.vim
+++ b/syntax/modules/usptream-ketama-chash.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Upstrema Ketama Chash Module <https://github.com/flygoast/ngx_http_upstream_ketama_chash>
-" Nginx load-balancer module implementing ketama consistent hashing.
+" Nginx load-balancer module implementing ketama consistent hashing.
syn keyword ngxDirectiveThirdParty ketama_chash
diff --git a/syntax/modules/vkholodkov-eval.vim b/syntax/modules/vkholodkov-eval.vim
index 711416be..b29770be 100644
--- a/syntax/modules/vkholodkov-eval.vim
+++ b/syntax/modules/vkholodkov-eval.vim
@@ -2,8 +2,8 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Eval Module <http://www.grid.net.ru/nginx/eval.en.html>
" Module for nginx web server evaluates response of proxy or memcached module into variables.
-syn keyword ngxDirectiveThirdParty eval
-syn keyword ngxDirectiveThirdParty eval_escalate
+syn keyword ngxDirectiveThirdParty eval
+syn keyword ngxDirectiveThirdParty eval_escalate
syn keyword ngxDirectiveThirdParty eval_override_content_type
diff --git a/syntax/modules/xss.vim b/syntax/modules/xss.vim
index 34d77a9f..dab492eb 100644
--- a/syntax/modules/xss.vim
+++ b/syntax/modules/xss.vim
@@ -2,10 +2,11 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" XSS Module <https://github.com/openresty/xss-nginx-module>
" Native support for cross-site scripting (XSS) in an nginx.
-syn keyword ngxDirectiveThirdParty xss_callback_arg
syn keyword ngxDirectiveThirdParty xss_get
+syn keyword ngxDirectiveThirdParty xss_callback_arg
+syn keyword ngxDirectiveThirdParty xss_override_status
+syn keyword ngxDirectiveThirdParty xss_check_status
syn keyword ngxDirectiveThirdParty xss_input_types
-syn keyword ngxDirectiveThirdParty xss_output_type
endif