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/accept-language.vim | 8 ++ syntax/modules/access-key.vim | 11 +++ syntax/modules/afcgi.vim | 42 +++++++++ syntax/modules/akamai-g2o.vim | 10 ++ syntax/modules/alacner-lua.vim | 8 ++ syntax/modules/array-var.vim | 11 +++ syntax/modules/audio-track-for-hls.vim | 11 +++ syntax/modules/aws-auth.vim | 13 +++ syntax/modules/backtrace.vim | 9 ++ syntax/modules/brotli.vim | 14 +++ syntax/modules/cache-purge.vim | 9 ++ syntax/modules/chunkin.vim | 11 +++ syntax/modules/circle-gif.vim | 11 +++ syntax/modules/clojure.vim | 39 ++++++++ syntax/modules/consistent-hash.vim | 8 ++ syntax/modules/devel-kit.vim | 10 ++ syntax/modules/drizzle.vim | 17 ++++ syntax/modules/dynamic-etags.vim | 8 ++ syntax/modules/echo.vim | 24 +++++ syntax/modules/encrypted-session.vim | 13 +++ syntax/modules/enhanced-memcached.vim | 19 ++++ syntax/modules/events.vim | 9 ++ syntax/modules/ey-balancer.vim | 10 ++ syntax/modules/fair-balancer.vim | 9 ++ syntax/modules/fancyindex.vim | 14 +++ syntax/modules/form-auth.vim | 12 +++ syntax/modules/form-input.vim | 9 ++ syntax/modules/geoip.vim | 8 ++ syntax/modules/gridfs.vim | 8 ++ syntax/modules/headers-more.vim | 11 +++ syntax/modules/healthcheck-upstream.vim | 15 +++ syntax/modules/http-accounting.vim | 12 +++ syntax/modules/http-auth-digest.vim | 13 +++ syntax/modules/http-auth-pam.vim | 9 ++ syntax/modules/http-auth-request.vim | 9 ++ syntax/modules/http-concat.vim | 13 +++ syntax/modules/http-dyups.vim | 12 +++ syntax/modules/http-footer-filter-if.vim | 8 ++ syntax/modules/http-footer-filter.vim | 9 ++ syntax/modules/http-internal-redirect.vim | 9 ++ syntax/modules/http-js.vim | 15 +++ syntax/modules/http-push.vim | 12 +++ syntax/modules/http-redis.vim | 14 +++ syntax/modules/iconv.vim | 10 ++ syntax/modules/ip-blocker.vim | 8 ++ syntax/modules/ip2location.vim | 8 ++ syntax/modules/limit-upload-rate.vim | 9 ++ syntax/modules/limit-upstream.vim | 10 ++ syntax/modules/log-if.vim | 8 ++ syntax/modules/log-request-speed.vim | 9 ++ syntax/modules/log-zmq.vim | 11 +++ syntax/modules/lower-upper-case.vim | 9 ++ syntax/modules/lua-upstream.vim | 7 ++ syntax/modules/lua.vim | 66 +++++++++++++ syntax/modules/md5-filter.vim | 8 ++ syntax/modules/memc.vim | 17 ++++ syntax/modules/mod-security.vim | 11 +++ syntax/modules/mogilefs.vim | 15 +++ syntax/modules/mongo.vim | 20 ++++ syntax/modules/mp4-streaming.vim | 8 ++ syntax/modules/naxsi.vim | 16 ++++ syntax/modules/notice.vim | 9 ++ syntax/modules/ocsp-proxy.vim | 9 ++ syntax/modules/openresty-eval.vim | 12 +++ syntax/modules/openssl-version.vim | 9 ++ syntax/modules/owner-match.vim | 9 ++ syntax/modules/pagespeed.vim | 8 ++ syntax/modules/php-memcache-standard-balancer.vim | 8 ++ syntax/modules/php-session.vim | 9 ++ syntax/modules/phusion-passenger.vim | 23 +++++ syntax/modules/postgres.vim | 17 ++++ syntax/modules/pubcookie.vim | 34 +++++++ syntax/modules/push-stream.vim | 43 +++++++++ syntax/modules/rdns.vim | 10 ++ syntax/modules/rds-csv.vim | 13 +++ syntax/modules/rds-json.vim | 11 +++ syntax/modules/redis2.vim | 17 ++++ syntax/modules/replace-filter.vim | 12 +++ syntax/modules/roboo.vim | 7 ++ syntax/modules/rrd-graph.vim | 9 ++ syntax/modules/rtmp.vim | 108 ++++++++++++++++++++++ syntax/modules/rtmpt-proxy.vim | 12 +++ syntax/modules/sass.vim | 17 ++++ syntax/modules/secure-download.vim | 11 +++ syntax/modules/selective-cache-purge.vim | 12 +++ syntax/modules/set-cconv.vim | 10 ++ syntax/modules/set-hash.vim | 13 +++ syntax/modules/set-lang.vim | 15 +++ syntax/modules/set-misc.vim | 33 +++++++ syntax/modules/sflow.vim | 8 ++ syntax/modules/shibboleth.vim | 10 ++ syntax/modules/slice.vim | 14 +++ syntax/modules/slowfs.vim | 15 +++ syntax/modules/small-light.vim | 15 +++ syntax/modules/sorted-querystring-filter.vim | 8 ++ syntax/modules/sphinx2.vim | 14 +++ syntax/modules/spnego-auth.vim | 13 +++ syntax/modules/srcache.vim | 26 ++++++ syntax/modules/sssd-info.vim | 15 +++ syntax/modules/static-etags.vim | 8 ++ syntax/modules/statsd.vim | 11 +++ syntax/modules/sticky.vim | 8 ++ syntax/modules/stream-echo.vim | 22 +++++ syntax/modules/stream-lua.vim | 12 +++ syntax/modules/stream-upsync.vim | 11 +++ syntax/modules/strip.vim | 8 ++ syntax/modules/subrange.vim | 8 ++ syntax/modules/substitutions.vim | 9 ++ syntax/modules/summarizer.vim | 9 ++ syntax/modules/supervisord.vim | 12 +++ syntax/modules/tarantool-upstream.vim | 22 +++++ syntax/modules/tcp-proxy.vim | 33 +++++++ syntax/modules/testcookie.vim | 32 +++++++ syntax/modules/types-filter.vim | 9 ++ syntax/modules/unzip.vim | 10 ++ syntax/modules/upload-progress.vim | 14 +++ syntax/modules/upload.vim | 20 ++++ syntax/modules/upstream-fair.vim | 9 ++ syntax/modules/upstream-hash.vim | 9 ++ syntax/modules/upstream-jdomain.vim | 8 ++ syntax/modules/upsync.vim | 11 +++ syntax/modules/url.vim | 10 ++ syntax/modules/user-agent.vim | 8 ++ syntax/modules/usptream-ketama-chash.vim | 8 ++ syntax/modules/video-thumbextractor.vim | 24 +++++ syntax/modules/vkholodkov-eval.vim | 10 ++ syntax/modules/vts.vim | 20 ++++ syntax/modules/xss.vim | 11 +++ syntax/modules/zip.vim | 7 ++ 129 files changed, 1827 insertions(+) create mode 100644 syntax/modules/accept-language.vim create mode 100644 syntax/modules/access-key.vim create mode 100644 syntax/modules/afcgi.vim create mode 100644 syntax/modules/akamai-g2o.vim create mode 100644 syntax/modules/alacner-lua.vim create mode 100644 syntax/modules/array-var.vim create mode 100644 syntax/modules/audio-track-for-hls.vim create mode 100644 syntax/modules/aws-auth.vim create mode 100644 syntax/modules/backtrace.vim create mode 100644 syntax/modules/brotli.vim create mode 100644 syntax/modules/cache-purge.vim create mode 100644 syntax/modules/chunkin.vim create mode 100644 syntax/modules/circle-gif.vim create mode 100644 syntax/modules/clojure.vim create mode 100644 syntax/modules/consistent-hash.vim create mode 100644 syntax/modules/devel-kit.vim create mode 100644 syntax/modules/drizzle.vim create mode 100644 syntax/modules/dynamic-etags.vim create mode 100644 syntax/modules/echo.vim create mode 100644 syntax/modules/encrypted-session.vim create mode 100644 syntax/modules/enhanced-memcached.vim create mode 100644 syntax/modules/events.vim create mode 100644 syntax/modules/ey-balancer.vim create mode 100644 syntax/modules/fair-balancer.vim create mode 100644 syntax/modules/fancyindex.vim create mode 100644 syntax/modules/form-auth.vim create mode 100644 syntax/modules/form-input.vim create mode 100644 syntax/modules/geoip.vim create mode 100644 syntax/modules/gridfs.vim create mode 100644 syntax/modules/headers-more.vim create mode 100644 syntax/modules/healthcheck-upstream.vim create mode 100644 syntax/modules/http-accounting.vim create mode 100644 syntax/modules/http-auth-digest.vim create mode 100644 syntax/modules/http-auth-pam.vim create mode 100644 syntax/modules/http-auth-request.vim create mode 100644 syntax/modules/http-concat.vim create mode 100644 syntax/modules/http-dyups.vim create mode 100644 syntax/modules/http-footer-filter-if.vim create mode 100644 syntax/modules/http-footer-filter.vim create mode 100644 syntax/modules/http-internal-redirect.vim create mode 100644 syntax/modules/http-js.vim create mode 100644 syntax/modules/http-push.vim create mode 100644 syntax/modules/http-redis.vim create mode 100644 syntax/modules/iconv.vim create mode 100644 syntax/modules/ip-blocker.vim create mode 100644 syntax/modules/ip2location.vim create mode 100644 syntax/modules/limit-upload-rate.vim create mode 100644 syntax/modules/limit-upstream.vim create mode 100644 syntax/modules/log-if.vim create mode 100644 syntax/modules/log-request-speed.vim create mode 100644 syntax/modules/log-zmq.vim create mode 100644 syntax/modules/lower-upper-case.vim create mode 100644 syntax/modules/lua-upstream.vim create mode 100644 syntax/modules/lua.vim create mode 100644 syntax/modules/md5-filter.vim create mode 100644 syntax/modules/memc.vim create mode 100644 syntax/modules/mod-security.vim create mode 100644 syntax/modules/mogilefs.vim create mode 100644 syntax/modules/mongo.vim create mode 100644 syntax/modules/mp4-streaming.vim create mode 100644 syntax/modules/naxsi.vim create mode 100644 syntax/modules/notice.vim create mode 100644 syntax/modules/ocsp-proxy.vim create mode 100644 syntax/modules/openresty-eval.vim create mode 100644 syntax/modules/openssl-version.vim create mode 100644 syntax/modules/owner-match.vim create mode 100644 syntax/modules/pagespeed.vim create mode 100644 syntax/modules/php-memcache-standard-balancer.vim create mode 100644 syntax/modules/php-session.vim create mode 100644 syntax/modules/phusion-passenger.vim create mode 100644 syntax/modules/postgres.vim create mode 100644 syntax/modules/pubcookie.vim create mode 100644 syntax/modules/push-stream.vim create mode 100644 syntax/modules/rdns.vim create mode 100644 syntax/modules/rds-csv.vim create mode 100644 syntax/modules/rds-json.vim create mode 100644 syntax/modules/redis2.vim create mode 100644 syntax/modules/replace-filter.vim create mode 100644 syntax/modules/roboo.vim create mode 100644 syntax/modules/rrd-graph.vim create mode 100644 syntax/modules/rtmp.vim create mode 100644 syntax/modules/rtmpt-proxy.vim create mode 100644 syntax/modules/sass.vim create mode 100644 syntax/modules/secure-download.vim create mode 100644 syntax/modules/selective-cache-purge.vim create mode 100644 syntax/modules/set-cconv.vim create mode 100644 syntax/modules/set-hash.vim create mode 100644 syntax/modules/set-lang.vim create mode 100644 syntax/modules/set-misc.vim create mode 100644 syntax/modules/sflow.vim create mode 100644 syntax/modules/shibboleth.vim create mode 100644 syntax/modules/slice.vim create mode 100644 syntax/modules/slowfs.vim create mode 100644 syntax/modules/small-light.vim create mode 100644 syntax/modules/sorted-querystring-filter.vim create mode 100644 syntax/modules/sphinx2.vim create mode 100644 syntax/modules/spnego-auth.vim create mode 100644 syntax/modules/srcache.vim create mode 100644 syntax/modules/sssd-info.vim create mode 100644 syntax/modules/static-etags.vim create mode 100644 syntax/modules/statsd.vim create mode 100644 syntax/modules/sticky.vim create mode 100644 syntax/modules/stream-echo.vim create mode 100644 syntax/modules/stream-lua.vim create mode 100644 syntax/modules/stream-upsync.vim create mode 100644 syntax/modules/strip.vim create mode 100644 syntax/modules/subrange.vim create mode 100644 syntax/modules/substitutions.vim create mode 100644 syntax/modules/summarizer.vim create mode 100644 syntax/modules/supervisord.vim create mode 100644 syntax/modules/tarantool-upstream.vim create mode 100644 syntax/modules/tcp-proxy.vim create mode 100644 syntax/modules/testcookie.vim create mode 100644 syntax/modules/types-filter.vim create mode 100644 syntax/modules/unzip.vim create mode 100644 syntax/modules/upload-progress.vim create mode 100644 syntax/modules/upload.vim create mode 100644 syntax/modules/upstream-fair.vim create mode 100644 syntax/modules/upstream-hash.vim create mode 100644 syntax/modules/upstream-jdomain.vim create mode 100644 syntax/modules/upsync.vim create mode 100644 syntax/modules/url.vim create mode 100644 syntax/modules/user-agent.vim create mode 100644 syntax/modules/usptream-ketama-chash.vim create mode 100644 syntax/modules/video-thumbextractor.vim create mode 100644 syntax/modules/vkholodkov-eval.vim create mode 100644 syntax/modules/vts.vim create mode 100644 syntax/modules/xss.vim create mode 100644 syntax/modules/zip.vim (limited to 'syntax/modules') diff --git a/syntax/modules/accept-language.vim b/syntax/modules/accept-language.vim new file mode 100644 index 00000000..2d9ef32d --- /dev/null +++ b/syntax/modules/accept-language.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Accept Language Module +" Parses the Accept-Language header and gives the most suitable locale from a list of supported locales. +syn keyword ngxDirectiveThirdParty set_from_accept_language + + +endif diff --git a/syntax/modules/access-key.vim b/syntax/modules/access-key.vim new file mode 100644 index 00000000..71b2c4c9 --- /dev/null +++ b/syntax/modules/access-key.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Access Key Module (DEPRECATED) +" 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 + + +endif diff --git a/syntax/modules/afcgi.vim b/syntax/modules/afcgi.vim new file mode 100644 index 00000000..32d7fd25 --- /dev/null +++ b/syntax/modules/afcgi.vim @@ -0,0 +1,42 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Asynchronous FastCGI Module +" Primarily a modified version of the Nginx FastCGI module which implements multiplexing of connections, allowing a single FastCGI server to handle many concurrent requests. +" syn keyword ngxDirectiveThirdParty fastcgi_bind +" syn keyword ngxDirectiveThirdParty fastcgi_buffer_size +" syn keyword ngxDirectiveThirdParty fastcgi_buffers +" syn keyword ngxDirectiveThirdParty fastcgi_busy_buffers_size +" syn keyword ngxDirectiveThirdParty fastcgi_cache +" syn keyword ngxDirectiveThirdParty fastcgi_cache_key +" syn keyword ngxDirectiveThirdParty fastcgi_cache_methods +" syn keyword ngxDirectiveThirdParty fastcgi_cache_min_uses +" syn keyword ngxDirectiveThirdParty fastcgi_cache_path +" syn keyword ngxDirectiveThirdParty fastcgi_cache_use_stale +" syn keyword ngxDirectiveThirdParty fastcgi_cache_valid +" syn keyword ngxDirectiveThirdParty fastcgi_catch_stderr +" syn keyword ngxDirectiveThirdParty fastcgi_connect_timeout +" syn keyword ngxDirectiveThirdParty fastcgi_hide_header +" syn keyword ngxDirectiveThirdParty fastcgi_ignore_client_abort +" syn keyword ngxDirectiveThirdParty fastcgi_ignore_headers +" syn keyword ngxDirectiveThirdParty fastcgi_index +" syn keyword ngxDirectiveThirdParty fastcgi_intercept_errors +" syn keyword ngxDirectiveThirdParty fastcgi_max_temp_file_size +" syn keyword ngxDirectiveThirdParty fastcgi_next_upstream +" syn keyword ngxDirectiveThirdParty fastcgi_param +" syn keyword ngxDirectiveThirdParty fastcgi_pass +" syn keyword ngxDirectiveThirdParty fastcgi_pass_header +" syn keyword ngxDirectiveThirdParty fastcgi_pass_request_body +" syn keyword ngxDirectiveThirdParty fastcgi_pass_request_headers +" syn keyword ngxDirectiveThirdParty fastcgi_read_timeout +" syn keyword ngxDirectiveThirdParty fastcgi_send_lowat +" syn keyword ngxDirectiveThirdParty fastcgi_send_timeout +" syn keyword ngxDirectiveThirdParty fastcgi_split_path_info +" syn keyword ngxDirectiveThirdParty fastcgi_store +" syn keyword ngxDirectiveThirdParty fastcgi_store_access +" syn keyword ngxDirectiveThirdParty fastcgi_temp_file_write_size +" syn keyword ngxDirectiveThirdParty fastcgi_temp_path +syn keyword ngxDirectiveThirdParty fastcgi_upstream_fail_timeout +syn keyword ngxDirectiveThirdParty fastcgi_upstream_max_fails + + +endif diff --git a/syntax/modules/akamai-g2o.vim b/syntax/modules/akamai-g2o.vim new file mode 100644 index 00000000..36a29b4f --- /dev/null +++ b/syntax/modules/akamai-g2o.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Akamai G2O Module +" Nginx Module for Authenticating Akamai G2O requests +syn keyword ngxDirectiveThirdParty g2o +syn keyword ngxDirectiveThirdParty g2o_nonce +syn keyword ngxDirectiveThirdParty g2o_key + + +endif diff --git a/syntax/modules/alacner-lua.vim b/syntax/modules/alacner-lua.vim new file mode 100644 index 00000000..1772422d --- /dev/null +++ b/syntax/modules/alacner-lua.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Lua Module +" You can be very simple to execute lua code for nginx +syn keyword ngxDirectiveThirdParty lua_file + + +endif diff --git a/syntax/modules/array-var.vim b/syntax/modules/array-var.vim new file mode 100644 index 00000000..12c86cc3 --- /dev/null +++ b/syntax/modules/array-var.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Array Variable Module +" Add support for array-typed variables to nginx config files +syn keyword ngxDirectiveThirdParty array_split +syn keyword ngxDirectiveThirdParty array_join +syn keyword ngxDirectiveThirdParty array_map +syn keyword ngxDirectiveThirdParty array_map_op + + +endif diff --git a/syntax/modules/audio-track-for-hls.vim b/syntax/modules/audio-track-for-hls.vim new file mode 100644 index 00000000..afe98957 --- /dev/null +++ b/syntax/modules/audio-track-for-hls.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Nginx Audio Track for HTTP Live Streaming +" This nginx module generates audio track for hls streams on the fly. +syn keyword ngxDirectiveThirdParty ngx_hls_audio_track +syn keyword ngxDirectiveThirdParty ngx_hls_audio_track_rootpath +syn keyword ngxDirectiveThirdParty ngx_hls_audio_track_output_format +syn keyword ngxDirectiveThirdParty ngx_hls_audio_track_output_header + + +endif diff --git a/syntax/modules/aws-auth.vim b/syntax/modules/aws-auth.vim new file mode 100644 index 00000000..f98e960c --- /dev/null +++ b/syntax/modules/aws-auth.vim @@ -0,0 +1,13 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" AWS Proxy Module +" 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 +syn keyword ngxDirectiveThirdParty aws_endpoint +syn keyword ngxDirectiveThirdParty aws_s3_bucket +syn keyword ngxDirectiveThirdParty aws_sign + + +endif diff --git a/syntax/modules/backtrace.vim b/syntax/modules/backtrace.vim new file mode 100644 index 00000000..7a2e6258 --- /dev/null +++ b/syntax/modules/backtrace.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Backtrace module +" A Nginx module to dump backtrace when a worker process exits abnormally +syn keyword ngxDirectiveThirdParty backtrace_log +syn keyword ngxDirectiveThirdParty backtrace_max_stack_size + + +endif diff --git a/syntax/modules/brotli.vim b/syntax/modules/brotli.vim new file mode 100644 index 00000000..b6103d48 --- /dev/null +++ b/syntax/modules/brotli.vim @@ -0,0 +1,14 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Brotli Module +" Nginx module for Brotli compression +syn keyword ngxDirectiveThirdParty brotli_static +syn keyword ngxDirectiveThirdParty brotli +syn keyword ngxDirectiveThirdParty brotli_types +syn keyword ngxDirectiveThirdParty brotli_buffers +syn keyword ngxDirectiveThirdParty brotli_comp_level +syn keyword ngxDirectiveThirdParty brotli_window +syn keyword ngxDirectiveThirdParty brotli_min_length + + +endif diff --git a/syntax/modules/cache-purge.vim b/syntax/modules/cache-purge.vim new file mode 100644 index 00000000..2b57226e --- /dev/null +++ b/syntax/modules/cache-purge.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Cache Purge Module +" Module adding ability to purge content from FastCGI and proxy caches. +syn keyword ngxDirectiveThirdParty fastcgi_cache_purge +syn keyword ngxDirectiveThirdParty proxy_cache_purge + + +endif diff --git a/syntax/modules/chunkin.vim b/syntax/modules/chunkin.vim new file mode 100644 index 00000000..8375598b --- /dev/null +++ b/syntax/modules/chunkin.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Chunkin Module (DEPRECATED) +" 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 + + +endif diff --git a/syntax/modules/circle-gif.vim b/syntax/modules/circle-gif.vim new file mode 100644 index 00000000..0a4eac9e --- /dev/null +++ b/syntax/modules/circle-gif.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Circle GIF Module +" Generates simple circle images with the colors and size specified in the URL. +syn keyword ngxDirectiveThirdParty circle_gif +syn keyword ngxDirectiveThirdParty circle_gif_max_radius +syn keyword ngxDirectiveThirdParty circle_gif_min_radius +syn keyword ngxDirectiveThirdParty circle_gif_step_radius + + +endif diff --git a/syntax/modules/clojure.vim b/syntax/modules/clojure.vim new file mode 100644 index 00000000..e5a6c8d4 --- /dev/null +++ b/syntax/modules/clojure.vim @@ -0,0 +1,39 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" 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 +syn keyword ngxDirectiveThirdParty jvm_classpath +syn keyword ngxDirectiveThirdParty jvm_classpath_check +syn keyword ngxDirectiveThirdParty jvm_workers +syn keyword ngxDirectiveThirdParty jvm_options +syn keyword ngxDirectiveThirdParty jvm_handler_type +syn keyword ngxDirectiveThirdParty jvm_init_handler_name +syn keyword ngxDirectiveThirdParty jvm_init_handler_code +syn keyword ngxDirectiveThirdParty jvm_exit_handler_name +syn keyword ngxDirectiveThirdParty jvm_exit_handler_code +syn keyword ngxDirectiveThirdParty handlers_lazy_init +syn keyword ngxDirectiveThirdParty auto_upgrade_ws +syn keyword ngxDirectiveThirdParty content_handler_type +syn keyword ngxDirectiveThirdParty content_handler_name +syn keyword ngxDirectiveThirdParty content_handler_code +syn keyword ngxDirectiveThirdParty rewrite_handler_type +syn keyword ngxDirectiveThirdParty rewrite_handler_name +syn keyword ngxDirectiveThirdParty rewrite_handler_code +syn keyword ngxDirectiveThirdParty access_handler_type +syn keyword ngxDirectiveThirdParty access_handler_name +syn keyword ngxDirectiveThirdParty access_handler_code +syn keyword ngxDirectiveThirdParty header_filter_type +syn keyword ngxDirectiveThirdParty header_filter_name +syn keyword ngxDirectiveThirdParty header_filter_code +syn keyword ngxDirectiveThirdParty content_handler_property +syn keyword ngxDirectiveThirdParty rewrite_handler_property +syn keyword ngxDirectiveThirdParty access_handler_property +syn keyword ngxDirectiveThirdParty header_filter_property +syn keyword ngxDirectiveThirdParty always_read_body +syn keyword ngxDirectiveThirdParty shared_map +syn keyword ngxDirectiveThirdParty write_page_size + + +endif 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 +" A load balancer that uses an internal consistent hash ring to select the right backend node. +syn keyword ngxDirectiveThirdParty consistent_hash + + +endif diff --git a/syntax/modules/devel-kit.vim b/syntax/modules/devel-kit.vim new file mode 100644 index 00000000..b097a8c3 --- /dev/null +++ b/syntax/modules/devel-kit.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Nginx Development Kit +" The NDK is an Nginx module that is designed to extend the core functionality of the excellent Nginx webserver in a way that can be used as a basis of other Nginx modules. +" NDK_UPSTREAM_LIST +" This submodule provides a directive that creates a list of upstreams, with optional weighting. This list can then be used by other modules to hash over the upstreams however they choose. +syn keyword ngxDirectiveThirdParty upstream_list + + +endif diff --git a/syntax/modules/drizzle.vim b/syntax/modules/drizzle.vim new file mode 100644 index 00000000..507977e3 --- /dev/null +++ b/syntax/modules/drizzle.vim @@ -0,0 +1,17 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Drizzle Module +" Make nginx talk directly to mysql, drizzle, and sqlite3 by libdrizzle. +syn keyword ngxDirectiveThirdParty drizzle_connect_timeout +syn keyword ngxDirectiveThirdParty drizzle_dbname +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_recv_cols_timeout +syn keyword ngxDirectiveThirdParty drizzle_recv_rows_timeout +syn keyword ngxDirectiveThirdParty drizzle_send_query_timeout +syn keyword ngxDirectiveThirdParty drizzle_server + + +endif diff --git a/syntax/modules/dynamic-etags.vim b/syntax/modules/dynamic-etags.vim new file mode 100644 index 00000000..9655fd6a --- /dev/null +++ b/syntax/modules/dynamic-etags.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Dynamic ETags Module +" Attempt at handling ETag / If-None-Match on proxied content. +syn keyword ngxDirectiveThirdParty dynamic_etags + + +endif diff --git a/syntax/modules/echo.vim b/syntax/modules/echo.vim new file mode 100644 index 00000000..062a856c --- /dev/null +++ b/syntax/modules/echo.vim @@ -0,0 +1,24 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Echo Module +" Brings 'echo', 'sleep', 'time', 'exec' and more shell-style goodies to Nginx 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_subrequest_async + + +endif diff --git a/syntax/modules/encrypted-session.vim b/syntax/modules/encrypted-session.vim new file mode 100644 index 00000000..1450ec11 --- /dev/null +++ b/syntax/modules/encrypted-session.vim @@ -0,0 +1,13 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Encrypted Session Module +" Encrypt and decrypt nginx variable values +syn keyword ngxDirectiveThirdParty encrypted_session_key +syn keyword ngxDirectiveThirdParty encrypted_session_iv +syn keyword ngxDirectiveThirdParty encrypted_session_expires +syn keyword ngxDirectiveThirdParty set_encrypt_session +syn keyword ngxDirectiveThirdParty set_decrypt_session + + + +endif diff --git a/syntax/modules/enhanced-memcached.vim b/syntax/modules/enhanced-memcached.vim new file mode 100644 index 00000000..67d6e192 --- /dev/null +++ b/syntax/modules/enhanced-memcached.vim @@ -0,0 +1,19 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Enhanced Memcached Module +" This module is based on the standard Nginx Memcached module, with some additonal features +syn keyword ngxDirectiveThirdParty enhanced_memcached_pass +syn keyword ngxDirectiveThirdParty enhanced_memcached_hash_keys_with_md5 +syn keyword ngxDirectiveThirdParty enhanced_memcached_allow_put +syn keyword ngxDirectiveThirdParty enhanced_memcached_allow_delete +syn keyword ngxDirectiveThirdParty enhanced_memcached_stats +syn keyword ngxDirectiveThirdParty enhanced_memcached_flush +syn keyword ngxDirectiveThirdParty enhanced_memcached_flush_namespace +syn keyword ngxDirectiveThirdParty enhanced_memcached_bind +syn keyword ngxDirectiveThirdParty enhanced_memcached_connect_timeout +syn keyword ngxDirectiveThirdParty enhanced_memcached_send_timeout +syn keyword ngxDirectiveThirdParty enhanced_memcached_buffer_size +syn keyword ngxDirectiveThirdParty enhanced_memcached_read_timeout + + +endif diff --git a/syntax/modules/events.vim b/syntax/modules/events.vim new file mode 100644 index 00000000..56578406 --- /dev/null +++ b/syntax/modules/events.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Events Module (DEPRECATED) +" Provides options for start/stop events. +syn keyword ngxDirectiveThirdParty on_start +syn keyword ngxDirectiveThirdParty on_stop + + +endif diff --git a/syntax/modules/ey-balancer.vim b/syntax/modules/ey-balancer.vim new file mode 100644 index 00000000..825bab8b --- /dev/null +++ b/syntax/modules/ey-balancer.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" EY Balancer Module +" Adds a request queue to Nginx that allows the limiting of concurrent requests passed to the upstream. +syn keyword ngxDirectiveThirdParty max_connections +syn keyword ngxDirectiveThirdParty max_connections_max_queue_length +syn keyword ngxDirectiveThirdParty max_connections_queue_timeout + + +endif 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 +" 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 diff --git a/syntax/modules/fancyindex.vim b/syntax/modules/fancyindex.vim new file mode 100644 index 00000000..423b5524 --- /dev/null +++ b/syntax/modules/fancyindex.vim @@ -0,0 +1,14 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Fancy Indexes Module +" Like the built-in autoindex module, but fancier. +syn keyword ngxDirectiveThirdParty fancyindex +syn keyword ngxDirectiveThirdParty fancyindex_exact_size +syn keyword ngxDirectiveThirdParty fancyindex_footer +syn keyword ngxDirectiveThirdParty fancyindex_header +syn keyword ngxDirectiveThirdParty fancyindex_localtime +syn keyword ngxDirectiveThirdParty fancyindex_readme +syn keyword ngxDirectiveThirdParty fancyindex_readme_mode + + +endif diff --git a/syntax/modules/form-auth.vim b/syntax/modules/form-auth.vim new file mode 100644 index 00000000..6e044f2d --- /dev/null +++ b/syntax/modules/form-auth.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Form Auth Module +" Provides authentication and authorization with credentials submitted via POST request +syn keyword ngxDirectiveThirdParty form_auth +syn keyword ngxDirectiveThirdParty form_auth_pam_service +syn keyword ngxDirectiveThirdParty form_auth_login +syn keyword ngxDirectiveThirdParty form_auth_password +syn keyword ngxDirectiveThirdParty form_auth_remote_user + + +endif diff --git a/syntax/modules/form-input.vim b/syntax/modules/form-input.vim new file mode 100644 index 00000000..563dfc28 --- /dev/null +++ b/syntax/modules/form-input.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Form Input Module +" Reads HTTP POST and PUT request body encoded in "application/x-www-form-urlencoded" and parses the arguments into nginx variables. +syn keyword ngxDirectiveThirdParty set_form_input +syn keyword ngxDirectiveThirdParty set_form_input_multi + + +endif diff --git a/syntax/modules/geoip.vim b/syntax/modules/geoip.vim new file mode 100644 index 00000000..4f7409ce --- /dev/null +++ b/syntax/modules/geoip.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" GeoIP Module (DEPRECATED) +" Country code lookups via the MaxMind GeoIP API. +syn keyword ngxDirectiveThirdParty geoip_country_file + + +endif diff --git a/syntax/modules/gridfs.vim b/syntax/modules/gridfs.vim new file mode 100644 index 00000000..b65ec1d9 --- /dev/null +++ b/syntax/modules/gridfs.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" GridFS Module +" Nginx module for serving files from MongoDB's GridFS +syn keyword ngxDirectiveThirdParty gridfs + + +endif diff --git a/syntax/modules/headers-more.vim b/syntax/modules/headers-more.vim new file mode 100644 index 00000000..73ad8201 --- /dev/null +++ b/syntax/modules/headers-more.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Headers More Module +" Set and clear input and output headers...more than "add"! +syn keyword ngxDirectiveThirdParty more_clear_headers +syn keyword ngxDirectiveThirdParty more_clear_input_headers +syn keyword ngxDirectiveThirdParty more_set_headers +syn keyword ngxDirectiveThirdParty more_set_input_headers + + +endif 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 diff --git a/syntax/modules/http-accounting.vim b/syntax/modules/http-accounting.vim new file mode 100644 index 00000000..fbe2defa --- /dev/null +++ b/syntax/modules/http-accounting.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP Accounting Module +" 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 +syn keyword ngxDirectiveThirdParty http_accounting_interval +syn keyword ngxDirectiveThirdParty http_accounting_perturb + + +endif diff --git a/syntax/modules/http-auth-digest.vim b/syntax/modules/http-auth-digest.vim new file mode 100644 index 00000000..ff850a61 --- /dev/null +++ b/syntax/modules/http-auth-digest.vim @@ -0,0 +1,13 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Nginx Digest Authentication module +" Digest Authentication for Nginx +syn keyword ngxDirectiveThirdParty auth_digest +syn keyword ngxDirectiveThirdParty auth_digest_user_file +syn keyword ngxDirectiveThirdParty auth_digest_timeout +syn keyword ngxDirectiveThirdParty auth_digest_expires +syn keyword ngxDirectiveThirdParty auth_digest_replays +syn keyword ngxDirectiveThirdParty auth_digest_shm_size + + +endif diff --git a/syntax/modules/http-auth-pam.vim b/syntax/modules/http-auth-pam.vim new file mode 100644 index 00000000..1a8d6dc2 --- /dev/null +++ b/syntax/modules/http-auth-pam.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Auth PAM Module +" HTTP Basic Authentication using PAM. +syn keyword ngxDirectiveThirdParty auth_pam +syn keyword ngxDirectiveThirdParty auth_pam_service_name + + +endif diff --git a/syntax/modules/http-auth-request.vim b/syntax/modules/http-auth-request.vim new file mode 100644 index 00000000..9238cd5c --- /dev/null +++ b/syntax/modules/http-auth-request.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP Auth Request Module +" Implements client authorization based on the result of a subrequest +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 new file mode 100644 index 00000000..fbd4d828 --- /dev/null +++ b/syntax/modules/http-concat.vim @@ -0,0 +1,13 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP Concatenation module for Nginx +" 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 +syn keyword ngxDirectiveThirdParty concat_max_files +syn keyword ngxDirectiveThirdParty concat_delimiter +syn keyword ngxDirectiveThirdParty concat_ignore_file_error + + +endif diff --git a/syntax/modules/http-dyups.vim b/syntax/modules/http-dyups.vim new file mode 100644 index 00000000..9191d4fd --- /dev/null +++ b/syntax/modules/http-dyups.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP Dynamic Upstream Module +" Update upstreams' config by restful interface +syn keyword ngxDirectiveThirdParty dyups_interface +syn keyword ngxDirectiveThirdParty dyups_read_msg_timeout +syn keyword ngxDirectiveThirdParty dyups_shm_zone_size +syn keyword ngxDirectiveThirdParty dyups_upstream_conf +syn keyword ngxDirectiveThirdParty dyups_trylock + + +endif diff --git a/syntax/modules/http-footer-filter-if.vim b/syntax/modules/http-footer-filter-if.vim new file mode 100644 index 00000000..74a5e4c1 --- /dev/null +++ b/syntax/modules/http-footer-filter-if.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP Footer If Filter Module +" The ngx_http_footer_if_filter_module is used to add given content to the end of the response according to the condition specified. +syn keyword ngxDirectiveThirdParty footer_if + + +endif diff --git a/syntax/modules/http-footer-filter.vim b/syntax/modules/http-footer-filter.vim new file mode 100644 index 00000000..7dd33db1 --- /dev/null +++ b/syntax/modules/http-footer-filter.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP Footer Filter Module +" This module implements a body filter that adds a given string to the page footer. +syn keyword ngxDirectiveThirdParty footer +syn keyword ngxDirectiveThirdParty footer_types + + +endif diff --git a/syntax/modules/http-internal-redirect.vim b/syntax/modules/http-internal-redirect.vim new file mode 100644 index 00000000..2484dc8a --- /dev/null +++ b/syntax/modules/http-internal-redirect.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP Internal Redirect Module +" 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 + + +endif diff --git a/syntax/modules/http-js.vim b/syntax/modules/http-js.vim new file mode 100644 index 00000000..fe16fb9c --- /dev/null +++ b/syntax/modules/http-js.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP JavaScript Module +" Embedding SpiderMonkey. Nearly full port on Perl module. +syn keyword ngxDirectiveThirdParty js +syn keyword ngxDirectiveThirdParty js_filter +syn keyword ngxDirectiveThirdParty js_filter_types +syn keyword ngxDirectiveThirdParty js_load +syn keyword ngxDirectiveThirdParty js_maxmem +syn keyword ngxDirectiveThirdParty js_require +syn keyword ngxDirectiveThirdParty js_set +syn keyword ngxDirectiveThirdParty js_utf8 + + +endif diff --git a/syntax/modules/http-push.vim b/syntax/modules/http-push.vim new file mode 100644 index 00000000..d53ad5e1 --- /dev/null +++ b/syntax/modules/http-push.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP Push Module (DEPRECATED) +" 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 + + +endif diff --git a/syntax/modules/http-redis.vim b/syntax/modules/http-redis.vim new file mode 100644 index 00000000..95a3a34a --- /dev/null +++ b/syntax/modules/http-redis.vim @@ -0,0 +1,14 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP Redis Module +" Redis support.> +syn keyword ngxDirectiveThirdParty redis_bind +syn keyword ngxDirectiveThirdParty redis_buffer_size +syn keyword ngxDirectiveThirdParty redis_connect_timeout +syn keyword ngxDirectiveThirdParty redis_next_upstream +syn keyword ngxDirectiveThirdParty redis_pass +syn keyword ngxDirectiveThirdParty redis_read_timeout +syn keyword ngxDirectiveThirdParty redis_send_timeout + + +endif diff --git a/syntax/modules/iconv.vim b/syntax/modules/iconv.vim new file mode 100644 index 00000000..6480895a --- /dev/null +++ b/syntax/modules/iconv.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Iconv Module +" A character conversion nginx module using libiconv +syn keyword ngxDirectiveThirdParty set_iconv +syn keyword ngxDirectiveThirdParty iconv_buffer_size +syn keyword ngxDirectiveThirdParty iconv_filter + + +endif diff --git a/syntax/modules/ip-blocker.vim b/syntax/modules/ip-blocker.vim new file mode 100644 index 00000000..2189c0f1 --- /dev/null +++ b/syntax/modules/ip-blocker.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" IP Blocker Module +" An efficient shared memory IP blocking system for nginx. +syn keyword ngxDirectiveThirdParty ip_blocker + + +endif diff --git a/syntax/modules/ip2location.vim b/syntax/modules/ip2location.vim new file mode 100644 index 00000000..0476a43e --- /dev/null +++ b/syntax/modules/ip2location.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" IP2Location Module +" Allows user to lookup for geolocation information using IP2Location database +syn keyword ngxDirectiveThirdParty ip2location_database + + +endif diff --git a/syntax/modules/limit-upload-rate.vim b/syntax/modules/limit-upload-rate.vim new file mode 100644 index 00000000..51354570 --- /dev/null +++ b/syntax/modules/limit-upload-rate.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Limit Upload Rate Module +" Limit client-upload rate when they are sending request bodies to you +syn keyword ngxDirectiveThirdParty limit_upload_rate +syn keyword ngxDirectiveThirdParty limit_upload_rate_after + + +endif diff --git a/syntax/modules/limit-upstream.vim b/syntax/modules/limit-upstream.vim new file mode 100644 index 00000000..be8242f1 --- /dev/null +++ b/syntax/modules/limit-upstream.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Limit Upstream Module +" Limit the number of connections to upstream for NGINX +syn keyword ngxDirectiveThirdParty limit_upstream_zone +syn keyword ngxDirectiveThirdParty limit_upstream_conn +syn keyword ngxDirectiveThirdParty limit_upstream_log_level + + +endif diff --git a/syntax/modules/log-if.vim b/syntax/modules/log-if.vim new file mode 100644 index 00000000..2e5b4ca3 --- /dev/null +++ b/syntax/modules/log-if.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Log If Module +" Conditional accesslog for nginx +syn keyword ngxDirectiveThirdParty access_log_bypass_if + + +endif diff --git a/syntax/modules/log-request-speed.vim b/syntax/modules/log-request-speed.vim new file mode 100644 index 00000000..792e2e7b --- /dev/null +++ b/syntax/modules/log-request-speed.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Log Request Speed (DEPRECATED) +" Log the time it took to process each request. +syn keyword ngxDirectiveThirdParty log_request_speed_filter +syn keyword ngxDirectiveThirdParty log_request_speed_filter_timeout + + +endif diff --git a/syntax/modules/log-zmq.vim b/syntax/modules/log-zmq.vim new file mode 100644 index 00000000..e9c5c339 --- /dev/null +++ b/syntax/modules/log-zmq.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Log ZeroMQ Module +" ZeroMQ logger module for nginx +syn keyword ngxDirectiveThirdParty log_zmq_server +syn keyword ngxDirectiveThirdParty log_zmq_endpoint +syn keyword ngxDirectiveThirdParty log_zmq_format +syn keyword ngxDirectiveThirdParty log_zmq_off + + +endif diff --git a/syntax/modules/lower-upper-case.vim b/syntax/modules/lower-upper-case.vim new file mode 100644 index 00000000..698e63b5 --- /dev/null +++ b/syntax/modules/lower-upper-case.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Lower/UpperCase Module +" This module simply uppercases or lowercases a string and saves it into a new variable. +syn keyword ngxDirectiveThirdParty lower +syn keyword ngxDirectiveThirdParty upper + + +endif diff --git a/syntax/modules/lua-upstream.vim b/syntax/modules/lua-upstream.vim new file mode 100644 index 00000000..cebee545 --- /dev/null +++ b/syntax/modules/lua-upstream.vim @@ -0,0 +1,7 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Lua Upstream Module +" 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 new file mode 100644 index 00000000..2fbb2a61 --- /dev/null +++ b/syntax/modules/lua.vim @@ -0,0 +1,66 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Lua Module +" Embed the Power of Lua into NGINX HTTP servers +syn keyword ngxDirectiveThirdParty lua_use_default_type +syn keyword ngxDirectiveThirdParty lua_code_cache +syn keyword ngxDirectiveThirdParty lua_regex_cache_max_entries +syn keyword ngxDirectiveThirdParty lua_regex_match_limit +syn keyword ngxDirectiveThirdParty lua_package_path +syn keyword ngxDirectiveThirdParty lua_package_cpath +syn keyword ngxDirectiveThirdParty init_by_lua +syn keyword ngxDirectiveThirdParty init_by_lua_block +syn keyword ngxDirectiveThirdParty init_by_lua_file +syn keyword ngxDirectiveThirdParty init_worker_by_lua +syn keyword ngxDirectiveThirdParty init_worker_by_lua_block +syn keyword ngxDirectiveThirdParty init_worker_by_lua_file +syn keyword ngxDirectiveThirdParty set_by_lua +syn keyword ngxDirectiveThirdParty set_by_lua_block +syn keyword ngxDirectiveThirdParty set_by_lua_file +syn keyword ngxDirectiveThirdParty content_by_lua +syn keyword ngxDirectiveThirdParty content_by_lua_block +syn keyword ngxDirectiveThirdParty content_by_lua_file +syn keyword ngxDirectiveThirdParty rewrite_by_lua +syn keyword ngxDirectiveThirdParty rewrite_by_lua_block +syn keyword ngxDirectiveThirdParty rewrite_by_lua_file +syn keyword ngxDirectiveThirdParty access_by_lua +syn keyword ngxDirectiveThirdParty access_by_lua_block +syn keyword ngxDirectiveThirdParty access_by_lua_file +syn keyword ngxDirectiveThirdParty header_filter_by_lua +syn keyword ngxDirectiveThirdParty header_filter_by_lua_block +syn keyword ngxDirectiveThirdParty header_filter_by_lua_file +syn keyword ngxDirectiveThirdParty body_filter_by_lua +syn keyword ngxDirectiveThirdParty body_filter_by_lua_block +syn keyword ngxDirectiveThirdParty body_filter_by_lua_file +syn keyword ngxDirectiveThirdParty log_by_lua +syn keyword ngxDirectiveThirdParty log_by_lua_block +syn keyword ngxDirectiveThirdParty log_by_lua_file +syn keyword ngxDirectiveThirdParty balancer_by_lua_block +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 lua_shared_dict +syn keyword ngxDirectiveThirdParty lua_socket_connect_timeout +syn keyword ngxDirectiveThirdParty lua_socket_send_timeout +syn keyword ngxDirectiveThirdParty lua_socket_send_lowat +syn keyword ngxDirectiveThirdParty lua_socket_read_timeout +syn keyword ngxDirectiveThirdParty lua_socket_buffer_size +syn keyword ngxDirectiveThirdParty lua_socket_pool_size +syn keyword ngxDirectiveThirdParty lua_socket_keepalive_timeout +syn keyword ngxDirectiveThirdParty lua_socket_log_errors +syn keyword ngxDirectiveThirdParty lua_ssl_ciphers +syn keyword ngxDirectiveThirdParty lua_ssl_crl +syn keyword ngxDirectiveThirdParty lua_ssl_protocols +syn keyword ngxDirectiveThirdParty lua_ssl_trusted_certificate +syn keyword ngxDirectiveThirdParty lua_ssl_verify_depth +syn keyword ngxDirectiveThirdParty lua_http10_buffering +syn keyword ngxDirectiveThirdParty rewrite_by_lua_no_postpone +syn keyword ngxDirectiveThirdParty access_by_lua_no_postpone +syn keyword ngxDirectiveThirdParty lua_transform_underscores_in_response_headers +syn keyword ngxDirectiveThirdParty lua_check_client_abort +syn keyword ngxDirectiveThirdParty lua_max_pending_timers +syn keyword ngxDirectiveThirdParty lua_max_running_timers + + +endif diff --git a/syntax/modules/md5-filter.vim b/syntax/modules/md5-filter.vim new file mode 100644 index 00000000..2d8df29d --- /dev/null +++ b/syntax/modules/md5-filter.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" MD5 Filter Module +" A content filter for nginx, which returns the md5 hash of the content otherwise returned. +syn keyword ngxDirectiveThirdParty md5_filter + + +endif diff --git a/syntax/modules/memc.vim b/syntax/modules/memc.vim new file mode 100644 index 00000000..a448ae7b --- /dev/null +++ b/syntax/modules/memc.vim @@ -0,0 +1,17 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Memc Module +" An extended version of the standard memcached module that supports set, add, delete, and many more memcached commands. +syn keyword ngxDirectiveThirdParty memc_buffer_size +syn keyword ngxDirectiveThirdParty memc_cmds_allowed +syn keyword ngxDirectiveThirdParty memc_connect_timeout +syn keyword ngxDirectiveThirdParty memc_flags_to_last_modified +syn keyword ngxDirectiveThirdParty memc_next_upstream +syn keyword ngxDirectiveThirdParty memc_pass +syn keyword ngxDirectiveThirdParty memc_read_timeout +syn keyword ngxDirectiveThirdParty memc_send_timeout +syn keyword ngxDirectiveThirdParty memc_upstream_fail_timeout +syn keyword ngxDirectiveThirdParty memc_upstream_max_fails + + +endif diff --git a/syntax/modules/mod-security.vim b/syntax/modules/mod-security.vim new file mode 100644 index 00000000..0f1fa6fd --- /dev/null +++ b/syntax/modules/mod-security.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Mod Security Module +" ModSecurity is an open source, cross platform web application firewall (WAF) engine +syn keyword ngxDirectiveThirdParty ModSecurityConfig +syn keyword ngxDirectiveThirdParty ModSecurityEnabled +syn keyword ngxDirectiveThirdParty pool_context +syn keyword ngxDirectiveThirdParty pool_context_hash_size + + +endif diff --git a/syntax/modules/mogilefs.vim b/syntax/modules/mogilefs.vim new file mode 100644 index 00000000..340c60f5 --- /dev/null +++ b/syntax/modules/mogilefs.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Mogilefs Module +" 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 +syn keyword ngxDirectiveThirdParty mogilefs_methods +syn keyword ngxDirectiveThirdParty mogilefs_noverify +syn keyword ngxDirectiveThirdParty mogilefs_pass +syn keyword ngxDirectiveThirdParty mogilefs_read_timeout +syn keyword ngxDirectiveThirdParty mogilefs_send_timeout +syn keyword ngxDirectiveThirdParty mogilefs_tracker + + +endif diff --git a/syntax/modules/mongo.vim b/syntax/modules/mongo.vim new file mode 100644 index 00000000..18bb0d31 --- /dev/null +++ b/syntax/modules/mongo.vim @@ -0,0 +1,20 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Mongo Module +" Upstream module that allows nginx to communicate directly with MongoDB database. +syn keyword ngxDirectiveThirdParty mongo_auth +syn keyword ngxDirectiveThirdParty mongo_pass +syn keyword ngxDirectiveThirdParty mongo_query +syn keyword ngxDirectiveThirdParty mongo_json +syn keyword ngxDirectiveThirdParty mongo_bind +syn keyword ngxDirectiveThirdParty mongo_connect_timeout +syn keyword ngxDirectiveThirdParty mongo_send_timeout +syn keyword ngxDirectiveThirdParty mongo_read_timeout +syn keyword ngxDirectiveThirdParty mongo_buffering +syn keyword ngxDirectiveThirdParty mongo_buffer_size +syn keyword ngxDirectiveThirdParty mongo_buffers +syn keyword ngxDirectiveThirdParty mongo_busy_buffers_size +syn keyword ngxDirectiveThirdParty mongo_next_upstream + + +endif diff --git a/syntax/modules/mp4-streaming.vim b/syntax/modules/mp4-streaming.vim new file mode 100644 index 00000000..1b7f417d --- /dev/null +++ b/syntax/modules/mp4-streaming.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" MP4 Streaming Lite Module +" Will seek to a certain time within H.264/MP4 files when provided with a 'start' parameter in the URL. +syn keyword ngxDirectiveThirdParty mp4 + + +endif diff --git a/syntax/modules/naxsi.vim b/syntax/modules/naxsi.vim new file mode 100644 index 00000000..4c54a60c --- /dev/null +++ b/syntax/modules/naxsi.vim @@ -0,0 +1,16 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" NAXSI Module +" NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX +syn keyword ngxDirectiveThirdParty DeniedUrl denied_url +syn keyword ngxDirectiveThirdParty LearningMode learning_mode +syn keyword ngxDirectiveThirdParty SecRulesEnabled rules_enabled +syn keyword ngxDirectiveThirdParty SecRulesDisabled rules_disabled +syn keyword ngxDirectiveThirdParty CheckRule check_rule +syn keyword ngxDirectiveThirdParty BasicRule basic_rule +syn keyword ngxDirectiveThirdParty MainRule main_rule +syn keyword ngxDirectiveThirdParty LibInjectionSql libinjection_sql +syn keyword ngxDirectiveThirdParty LibInjectionXss libinjection_xss + + +endif diff --git a/syntax/modules/notice.vim b/syntax/modules/notice.vim new file mode 100644 index 00000000..db503143 --- /dev/null +++ b/syntax/modules/notice.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Nginx Notice Module +" Serve static file to POST requests. +syn keyword ngxDirectiveThirdParty notice +syn keyword ngxDirectiveThirdParty notice_type + + +endif diff --git a/syntax/modules/ocsp-proxy.vim b/syntax/modules/ocsp-proxy.vim new file mode 100644 index 00000000..8c1e54a8 --- /dev/null +++ b/syntax/modules/ocsp-proxy.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" OCSP Proxy Module +" Nginx OCSP processing module designed for response caching +syn keyword ngxDirectiveThirdParty ocsp_proxy +syn keyword ngxDirectiveThirdParty ocsp_cache_timeout + + +endif diff --git a/syntax/modules/openresty-eval.vim b/syntax/modules/openresty-eval.vim new file mode 100644 index 00000000..3eb7f61f --- /dev/null +++ b/syntax/modules/openresty-eval.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Eval Module +" 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_buffer_size +syn keyword ngxDirectiveThirdParty eval_override_content_type +syn keyword ngxDirectiveThirdParty eval_subrequest_in_memory + + +endif diff --git a/syntax/modules/openssl-version.vim b/syntax/modules/openssl-version.vim new file mode 100644 index 00000000..58caffd2 --- /dev/null +++ b/syntax/modules/openssl-version.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" OpenSSL Version Module +" Nginx OpenSSL version check at startup +syn keyword ngxDirectiveThirdParty openssl_version_minimum +syn keyword ngxDirectiveThirdParty openssl_builddate_minimum + + +endif diff --git a/syntax/modules/owner-match.vim b/syntax/modules/owner-match.vim new file mode 100644 index 00000000..02103a62 --- /dev/null +++ b/syntax/modules/owner-match.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Owner Match Module +" Control access for specific owners and groups of files +syn keyword ngxDirectiveThirdParty omallow +syn keyword ngxDirectiveThirdParty omdeny + + +endif diff --git a/syntax/modules/pagespeed.vim b/syntax/modules/pagespeed.vim new file mode 100644 index 00000000..bea92ee8 --- /dev/null +++ b/syntax/modules/pagespeed.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Accept Language Module +" Parses the Accept-Language header and gives the most suitable locale from a list of supported locales. +syn keyword ngxDirectiveThirdParty pagespeed + + +endif diff --git a/syntax/modules/php-memcache-standard-balancer.vim b/syntax/modules/php-memcache-standard-balancer.vim new file mode 100644 index 00000000..7f99ac4c --- /dev/null +++ b/syntax/modules/php-memcache-standard-balancer.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" PHP Memcache Standard Balancer Module <> +" Loadbalancer that is compatible to the standard loadbalancer in the php-memcache module +syn keyword ngxDirectiveThirdParty hash_key + + +endif diff --git a/syntax/modules/php-session.vim b/syntax/modules/php-session.vim new file mode 100644 index 00000000..fd1a05f6 --- /dev/null +++ b/syntax/modules/php-session.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" PHP Session Module +" Nginx module to parse php sessions +syn keyword ngxDirectiveThirdParty php_session_parse +syn keyword ngxDirectiveThirdParty php_session_strip_formatting + + +endif diff --git a/syntax/modules/phusion-passenger.vim b/syntax/modules/phusion-passenger.vim new file mode 100644 index 00000000..7285660f --- /dev/null +++ b/syntax/modules/phusion-passenger.vim @@ -0,0 +1,23 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Phusion Passenger +" Easy and robust deployment of Ruby on Rails application on Apache and Nginx webservers. +syn keyword ngxDirectiveThirdParty passenger_base_uri +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_max_pool_size +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 + + +endif diff --git a/syntax/modules/postgres.vim b/syntax/modules/postgres.vim new file mode 100644 index 00000000..37cd901a --- /dev/null +++ b/syntax/modules/postgres.vim @@ -0,0 +1,17 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Postgres Module +" Upstream module that allows nginx to communicate directly with PostgreSQL database. +syn keyword ngxDirectiveThirdParty postgres_server +syn keyword ngxDirectiveThirdParty postgres_keepalive +syn keyword ngxDirectiveThirdParty postgres_pass +syn keyword ngxDirectiveThirdParty postgres_query +syn keyword ngxDirectiveThirdParty postgres_rewrite +syn keyword ngxDirectiveThirdParty postgres_output +syn keyword ngxDirectiveThirdParty postgres_set +syn keyword ngxDirectiveThirdParty postgres_escape +syn keyword ngxDirectiveThirdParty postgres_connect_timeout +syn keyword ngxDirectiveThirdParty postgres_result_timeout + + +endif diff --git a/syntax/modules/pubcookie.vim b/syntax/modules/pubcookie.vim new file mode 100644 index 00000000..7a9fc5bb --- /dev/null +++ b/syntax/modules/pubcookie.vim @@ -0,0 +1,34 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Pubcookie Module +" Authorizes users using encrypted cookies +syn keyword ngxDirectiveThirdParty pubcookie_inactive_expire +syn keyword ngxDirectiveThirdParty pubcookie_hard_expire +syn keyword ngxDirectiveThirdParty pubcookie_app_id +syn keyword ngxDirectiveThirdParty pubcookie_dir_depth +syn keyword ngxDirectiveThirdParty pubcookie_catenate_app_ids +syn keyword ngxDirectiveThirdParty pubcookie_app_srv_id +syn keyword ngxDirectiveThirdParty pubcookie_login +syn keyword ngxDirectiveThirdParty pubcookie_login_method +syn keyword ngxDirectiveThirdParty pubcookie_post +syn keyword ngxDirectiveThirdParty pubcookie_domain +syn keyword ngxDirectiveThirdParty pubcookie_granting_cert_file +syn keyword ngxDirectiveThirdParty pubcookie_session_key_file +syn keyword ngxDirectiveThirdParty pubcookie_session_cert_file +syn keyword ngxDirectiveThirdParty pubcookie_crypt_key_file +syn keyword ngxDirectiveThirdParty pubcookie_end_session +syn keyword ngxDirectiveThirdParty pubcookie_encryption +syn keyword ngxDirectiveThirdParty pubcookie_session_reauth +syn keyword ngxDirectiveThirdParty pubcookie_auth_type_names +syn keyword ngxDirectiveThirdParty pubcookie_no_prompt +syn keyword ngxDirectiveThirdParty pubcookie_on_demand +syn keyword ngxDirectiveThirdParty pubcookie_addl_request +syn keyword ngxDirectiveThirdParty pubcookie_no_obscure_cookies +syn keyword ngxDirectiveThirdParty pubcookie_no_clean_creds +syn keyword ngxDirectiveThirdParty pubcookie_egd_device +syn keyword ngxDirectiveThirdParty pubcookie_no_blank +syn keyword ngxDirectiveThirdParty pubcookie_super_debug +syn keyword ngxDirectiveThirdParty pubcookie_set_remote_user + + +endif diff --git a/syntax/modules/push-stream.vim b/syntax/modules/push-stream.vim new file mode 100644 index 00000000..0ada17ac --- /dev/null +++ b/syntax/modules/push-stream.vim @@ -0,0 +1,43 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Push Stream Module +" A pure stream http push technology for your Nginx setup +syn keyword ngxDirectiveThirdParty push_stream_channels_statistics +syn keyword ngxDirectiveThirdParty push_stream_publisher +syn keyword ngxDirectiveThirdParty push_stream_subscriber +syn keyword ngxDirectiveThirdParty push_stream_shared_memory_size +syn keyword ngxDirectiveThirdParty push_stream_channel_deleted_message_text +syn keyword ngxDirectiveThirdParty push_stream_channel_inactivity_time +syn keyword ngxDirectiveThirdParty push_stream_ping_message_text +syn keyword ngxDirectiveThirdParty push_stream_timeout_with_body +syn keyword ngxDirectiveThirdParty push_stream_message_ttl +syn keyword ngxDirectiveThirdParty push_stream_max_subscribers_per_channel +syn keyword ngxDirectiveThirdParty push_stream_max_messages_stored_per_channel +syn keyword ngxDirectiveThirdParty push_stream_max_channel_id_length +syn keyword ngxDirectiveThirdParty push_stream_max_number_of_channels +syn keyword ngxDirectiveThirdParty push_stream_max_number_of_wildcard_channels +syn keyword ngxDirectiveThirdParty push_stream_wildcard_channel_prefix +syn keyword ngxDirectiveThirdParty push_stream_events_channel_id +syn keyword ngxDirectiveThirdParty push_stream_channels_path +syn keyword ngxDirectiveThirdParty push_stream_store_messages +syn keyword ngxDirectiveThirdParty push_stream_channel_info_on_publish +syn keyword ngxDirectiveThirdParty push_stream_authorized_channels_only +syn keyword ngxDirectiveThirdParty push_stream_header_template_file +syn keyword ngxDirectiveThirdParty push_stream_header_template +syn keyword ngxDirectiveThirdParty push_stream_message_template +syn keyword ngxDirectiveThirdParty push_stream_footer_template +syn keyword ngxDirectiveThirdParty push_stream_wildcard_channel_max_qtd +syn keyword ngxDirectiveThirdParty push_stream_ping_message_interval +syn keyword ngxDirectiveThirdParty push_stream_subscriber_connection_ttl +syn keyword ngxDirectiveThirdParty push_stream_longpolling_connection_ttl +syn keyword ngxDirectiveThirdParty push_stream_websocket_allow_publish +syn keyword ngxDirectiveThirdParty push_stream_last_received_message_time +syn keyword ngxDirectiveThirdParty push_stream_last_received_message_tag +syn keyword ngxDirectiveThirdParty push_stream_last_event_id +syn keyword ngxDirectiveThirdParty push_stream_user_agent +syn keyword ngxDirectiveThirdParty push_stream_padding_by_user_agent +syn keyword ngxDirectiveThirdParty push_stream_allowed_origins +syn keyword ngxDirectiveThirdParty push_stream_allow_connections_to_events_channel + + +endif diff --git a/syntax/modules/rdns.vim b/syntax/modules/rdns.vim new file mode 100644 index 00000000..b4bab59d --- /dev/null +++ b/syntax/modules/rdns.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" rDNS Module +" 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 + + +endif diff --git a/syntax/modules/rds-csv.vim b/syntax/modules/rds-csv.vim new file mode 100644 index 00000000..fb8eef51 --- /dev/null +++ b/syntax/modules/rds-csv.vim @@ -0,0 +1,13 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" RDS CSV Module +" Nginx output filter module to convert Resty-DBD-Streams (RDS) to Comma-Separated Values (CSV) +syn keyword ngxDirectiveThirdParty rds_csv +syn keyword ngxDirectiveThirdParty rds_csv_row_terminator +syn keyword ngxDirectiveThirdParty rds_csv_field_separator +syn keyword ngxDirectiveThirdParty rds_csv_field_name_header +syn keyword ngxDirectiveThirdParty rds_csv_content_type +syn keyword ngxDirectiveThirdParty rds_csv_buffer_size + + +endif diff --git a/syntax/modules/rds-json.vim b/syntax/modules/rds-json.vim new file mode 100644 index 00000000..81854e33 --- /dev/null +++ b/syntax/modules/rds-json.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" RDS JSON Module +" Help ngx_drizzle and other DBD modules emit JSON data. +syn keyword ngxDirectiveThirdParty rds_json +syn keyword ngxDirectiveThirdParty rds_json_content_type +syn keyword ngxDirectiveThirdParty rds_json_format +syn keyword ngxDirectiveThirdParty rds_json_ret + + +endif diff --git a/syntax/modules/redis2.vim b/syntax/modules/redis2.vim new file mode 100644 index 00000000..acd547d2 --- /dev/null +++ b/syntax/modules/redis2.vim @@ -0,0 +1,17 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Redis 2 Module +" Nginx upstream module for the Redis 2.0 protocol +syn keyword ngxDirectiveThirdParty redis2_query +syn keyword ngxDirectiveThirdParty redis2_raw_query +syn keyword ngxDirectiveThirdParty redis2_raw_queries +syn keyword ngxDirectiveThirdParty redis2_literal_raw_query +syn keyword ngxDirectiveThirdParty redis2_pass +syn keyword ngxDirectiveThirdParty redis2_connect_timeout +syn keyword ngxDirectiveThirdParty redis2_send_timeout +syn keyword ngxDirectiveThirdParty redis2_read_timeout +syn keyword ngxDirectiveThirdParty redis2_buffer_size +syn keyword ngxDirectiveThirdParty redis2_next_upstream + + +endif diff --git a/syntax/modules/replace-filter.vim b/syntax/modules/replace-filter.vim new file mode 100644 index 00000000..b41f1055 --- /dev/null +++ b/syntax/modules/replace-filter.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Replace Filter Module +" 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 +syn keyword ngxDirectiveThirdParty replace_filter_last_modified +syn keyword ngxDirectiveThirdParty replace_filter_skip + + +endif diff --git a/syntax/modules/roboo.vim b/syntax/modules/roboo.vim new file mode 100644 index 00000000..cefea1fc --- /dev/null +++ b/syntax/modules/roboo.vim @@ -0,0 +1,7 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Roboo Module +" HTTP Robot Mitigator + + +endif diff --git a/syntax/modules/rrd-graph.vim b/syntax/modules/rrd-graph.vim new file mode 100644 index 00000000..d01a4623 --- /dev/null +++ b/syntax/modules/rrd-graph.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" RRD Graph Module +" This module provides an HTTP interface to RRDtool's graphing facilities. +syn keyword ngxDirectiveThirdParty rrd_graph +syn keyword ngxDirectiveThirdParty rrd_graph_root + + +endif diff --git a/syntax/modules/rtmp.vim b/syntax/modules/rtmp.vim new file mode 100644 index 00000000..94812d41 --- /dev/null +++ b/syntax/modules/rtmp.vim @@ -0,0 +1,108 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" RTMP Module +" NGINX-based Media Streaming Server +syn keyword ngxDirectiveThirdParty rtmp +syn keyword ngxDirectiveThirdParty server +syn keyword ngxDirectiveThirdParty listen +syn keyword ngxDirectiveThirdParty application +syn keyword ngxDirectiveThirdParty timeout +syn keyword ngxDirectiveThirdParty ping +syn keyword ngxDirectiveThirdParty ping_timeout +syn keyword ngxDirectiveThirdParty max_streams +syn keyword ngxDirectiveThirdParty ack_window +syn keyword ngxDirectiveThirdParty chunk_size +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 exec_push +syn keyword ngxDirectiveThirdParty exec_pull +syn keyword ngxDirectiveThirdParty exec +syn keyword ngxDirectiveThirdParty exec_options +syn keyword ngxDirectiveThirdParty exec_static +syn keyword ngxDirectiveThirdParty exec_kill_signal +syn keyword ngxDirectiveThirdParty respawn +syn keyword ngxDirectiveThirdParty respawn_timeout +syn keyword ngxDirectiveThirdParty exec_publish +syn keyword ngxDirectiveThirdParty exec_play +syn keyword ngxDirectiveThirdParty exec_play_done +syn keyword ngxDirectiveThirdParty exec_publish_done +syn keyword ngxDirectiveThirdParty exec_record_done +syn keyword ngxDirectiveThirdParty live +syn keyword ngxDirectiveThirdParty meta +syn keyword ngxDirectiveThirdParty interleave +syn keyword ngxDirectiveThirdParty wait_key +syn keyword ngxDirectiveThirdParty wait_video +syn keyword ngxDirectiveThirdParty publish_notify +syn keyword ngxDirectiveThirdParty drop_idle_publisher +syn keyword ngxDirectiveThirdParty sync +syn keyword ngxDirectiveThirdParty play_restart +syn keyword ngxDirectiveThirdParty idle_streams +syn keyword ngxDirectiveThirdParty record +syn keyword ngxDirectiveThirdParty record_path +syn keyword ngxDirectiveThirdParty record_suffix +syn keyword ngxDirectiveThirdParty record_unique +syn keyword ngxDirectiveThirdParty record_append +syn keyword ngxDirectiveThirdParty record_lock +syn keyword ngxDirectiveThirdParty record_max_size +syn keyword ngxDirectiveThirdParty record_max_frames +syn keyword ngxDirectiveThirdParty record_interval +syn keyword ngxDirectiveThirdParty recorder +syn keyword ngxDirectiveThirdParty record_notify +syn keyword ngxDirectiveThirdParty play +syn keyword ngxDirectiveThirdParty play_temp_path +syn keyword ngxDirectiveThirdParty play_local_path +syn keyword ngxDirectiveThirdParty pull +syn keyword ngxDirectiveThirdParty push +syn keyword ngxDirectiveThirdParty push_reconnect +syn keyword ngxDirectiveThirdParty session_relay +syn keyword ngxDirectiveThirdParty on_connect +syn keyword ngxDirectiveThirdParty on_play +syn keyword ngxDirectiveThirdParty on_publish +syn keyword ngxDirectiveThirdParty on_done +syn keyword ngxDirectiveThirdParty on_play_done +syn keyword ngxDirectiveThirdParty on_publish_done +syn keyword ngxDirectiveThirdParty on_record_done +syn keyword ngxDirectiveThirdParty on_update +syn keyword ngxDirectiveThirdParty notify_update_timeout +syn keyword ngxDirectiveThirdParty notify_update_strict +syn keyword ngxDirectiveThirdParty notify_relay_redirect +syn keyword ngxDirectiveThirdParty notify_method +syn keyword ngxDirectiveThirdParty hls +syn keyword ngxDirectiveThirdParty hls_path +syn keyword ngxDirectiveThirdParty hls_fragment +syn keyword ngxDirectiveThirdParty hls_playlist_length +syn keyword ngxDirectiveThirdParty hls_sync +syn keyword ngxDirectiveThirdParty hls_continuous +syn keyword ngxDirectiveThirdParty hls_nested +syn keyword ngxDirectiveThirdParty hls_base_url +syn keyword ngxDirectiveThirdParty hls_cleanup +syn keyword ngxDirectiveThirdParty hls_fragment_naming +syn keyword ngxDirectiveThirdParty hls_fragment_slicing +syn keyword ngxDirectiveThirdParty hls_variant +syn keyword ngxDirectiveThirdParty hls_type +syn keyword ngxDirectiveThirdParty hls_keys +syn keyword ngxDirectiveThirdParty hls_key_path +syn keyword ngxDirectiveThirdParty hls_key_url +syn keyword ngxDirectiveThirdParty hls_fragments_per_key +syn keyword ngxDirectiveThirdParty dash +syn keyword ngxDirectiveThirdParty dash_path +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 max_connections +syn keyword ngxDirectiveThirdParty rtmp_stat +syn keyword ngxDirectiveThirdParty rtmp_stat_stylesheet +syn keyword ngxDirectiveThirdParty rtmp_auto_push +syn keyword ngxDirectiveThirdParty rtmp_auto_push_reconnect +syn keyword ngxDirectiveThirdParty rtmp_socket_dir +syn keyword ngxDirectiveThirdParty rtmp_control + + +endif diff --git a/syntax/modules/rtmpt-proxy.vim b/syntax/modules/rtmpt-proxy.vim new file mode 100644 index 00000000..4dd066b8 --- /dev/null +++ b/syntax/modules/rtmpt-proxy.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" RTMPT Module +" 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 +syn keyword ngxDirectiveThirdParty rtmpt_proxy +syn keyword ngxDirectiveThirdParty rtmpt_proxy_stat +syn keyword ngxDirectiveThirdParty rtmpt_proxy_stylesheet + +endif diff --git a/syntax/modules/sass.vim b/syntax/modules/sass.vim new file mode 100644 index 00000000..397b74f6 --- /dev/null +++ b/syntax/modules/sass.vim @@ -0,0 +1,17 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Syntactically Awesome Module +" Providing on-the-fly compiling of Sass files as an NGINX module. +syn keyword ngxDirectiveThirdParty sass_compile +syn keyword ngxDirectiveThirdParty sass_error_log +syn keyword ngxDirectiveThirdParty sass_include_path +syn keyword ngxDirectiveThirdParty sass_indent +syn keyword ngxDirectiveThirdParty sass_is_indented_syntax +syn keyword ngxDirectiveThirdParty sass_linefeed +syn keyword ngxDirectiveThirdParty sass_precision +syn keyword ngxDirectiveThirdParty sass_output_style +syn keyword ngxDirectiveThirdParty sass_source_comments +syn keyword ngxDirectiveThirdParty sass_source_map_embed + + +endif diff --git a/syntax/modules/secure-download.vim b/syntax/modules/secure-download.vim new file mode 100644 index 00000000..67622140 --- /dev/null +++ b/syntax/modules/secure-download.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Secure Download +" Create expiring links. +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 + + +endif diff --git a/syntax/modules/selective-cache-purge.vim b/syntax/modules/selective-cache-purge.vim new file mode 100644 index 00000000..d67d9727 --- /dev/null +++ b/syntax/modules/selective-cache-purge.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Selective Cache Purge Module +" A module to purge cache by GLOB patterns. The supported patterns are the same as supported by Redis. +syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_unix_socket +syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_host +syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_port +syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_database +syn keyword ngxDirectiveThirdParty selective_cache_purge_query + + +endif diff --git a/syntax/modules/set-cconv.vim b/syntax/modules/set-cconv.vim new file mode 100644 index 00000000..4b6c4c56 --- /dev/null +++ b/syntax/modules/set-cconv.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Set cconv Module +" Cconv rewrite set commands +syn keyword ngxDirectiveThirdParty set_cconv_to_simp +syn keyword ngxDirectiveThirdParty set_cconv_to_trad +syn keyword ngxDirectiveThirdParty set_pinyin_to_normal + + +endif diff --git a/syntax/modules/set-hash.vim b/syntax/modules/set-hash.vim new file mode 100644 index 00000000..0c2d7d78 --- /dev/null +++ b/syntax/modules/set-hash.vim @@ -0,0 +1,13 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Set Hash Module +" 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 +syn keyword ngxDirectiveThirdParty set_murmur2_upper +syn keyword ngxDirectiveThirdParty set_sha1 +syn keyword ngxDirectiveThirdParty set_sha1_upper + + +endif diff --git a/syntax/modules/set-lang.vim b/syntax/modules/set-lang.vim new file mode 100644 index 00000000..e35e577d --- /dev/null +++ b/syntax/modules/set-lang.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Set Lang Module +" Provides a variety of ways for setting a variable denoting the langauge that content should be returned in. +syn keyword ngxDirectiveThirdParty set_lang +syn keyword ngxDirectiveThirdParty set_lang_method +syn keyword ngxDirectiveThirdParty lang_cookie +syn keyword ngxDirectiveThirdParty lang_get_var +syn keyword ngxDirectiveThirdParty lang_list +syn keyword ngxDirectiveThirdParty lang_post_var +syn keyword ngxDirectiveThirdParty lang_host +syn keyword ngxDirectiveThirdParty lang_referer + + +endif diff --git a/syntax/modules/set-misc.vim b/syntax/modules/set-misc.vim new file mode 100644 index 00000000..18ca6753 --- /dev/null +++ b/syntax/modules/set-misc.vim @@ -0,0 +1,33 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Set Misc Module +" Various set_xxx directives added to nginx's rewrite module +syn keyword ngxDirectiveThirdParty set_if_empty +syn keyword ngxDirectiveThirdParty set_quote_sql_str +syn keyword ngxDirectiveThirdParty set_quote_pgsql_str +syn keyword ngxDirectiveThirdParty set_quote_json_str +syn keyword ngxDirectiveThirdParty set_unescape_uri +syn keyword ngxDirectiveThirdParty set_escape_uri +syn keyword ngxDirectiveThirdParty set_hashed_upstream +syn keyword ngxDirectiveThirdParty set_encode_base32 +syn keyword ngxDirectiveThirdParty set_base32_padding +syn keyword ngxDirectiveThirdParty set_misc_base32_padding +syn keyword ngxDirectiveThirdParty set_base32_alphabet +syn keyword ngxDirectiveThirdParty set_decode_base32 +syn keyword ngxDirectiveThirdParty set_encode_base64 +syn keyword ngxDirectiveThirdParty set_decode_base64 +syn keyword ngxDirectiveThirdParty set_encode_hex +syn keyword ngxDirectiveThirdParty set_decode_hex +syn keyword ngxDirectiveThirdParty set_sha1 +syn keyword ngxDirectiveThirdParty set_md5 +syn keyword ngxDirectiveThirdParty set_hmac_sha1 +syn keyword ngxDirectiveThirdParty set_random +syn keyword ngxDirectiveThirdParty set_secure_random_alphanum +syn keyword ngxDirectiveThirdParty set_secure_random_lcalpha +syn keyword ngxDirectiveThirdParty set_rotate +syn keyword ngxDirectiveThirdParty set_local_today +syn keyword ngxDirectiveThirdParty set_formatted_gmt_time +syn keyword ngxDirectiveThirdParty set_formatted_local_time + + +endif diff --git a/syntax/modules/sflow.vim b/syntax/modules/sflow.vim new file mode 100644 index 00000000..21d66e9a --- /dev/null +++ b/syntax/modules/sflow.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" SFlow Module +" A binary, random-sampling nginx module designed for: lightweight, centralized, continuous, real-time monitoring of very large and very busy web farms. +syn keyword ngxDirectiveThirdParty sflow + + +endif diff --git a/syntax/modules/shibboleth.vim b/syntax/modules/shibboleth.vim new file mode 100644 index 00000000..77863eb8 --- /dev/null +++ b/syntax/modules/shibboleth.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Shibboleth Module +" Shibboleth auth request module for nginx +syn keyword ngxDirectiveThirdParty shib_request +syn keyword ngxDirectiveThirdParty shib_request_set +syn keyword ngxDirectiveThirdParty shib_request_use_headers + + +endif diff --git a/syntax/modules/slice.vim b/syntax/modules/slice.vim new file mode 100644 index 00000000..75a935d7 --- /dev/null +++ b/syntax/modules/slice.vim @@ -0,0 +1,14 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Slice Module +" Nginx module for serving a file in slices (reverse byte-range) +syn keyword ngxDirectiveThirdParty slice +syn keyword ngxDirectiveThirdParty slice_arg_begin +syn keyword ngxDirectiveThirdParty slice_arg_end +syn keyword ngxDirectiveThirdParty slice_header +syn keyword ngxDirectiveThirdParty slice_footer +syn keyword ngxDirectiveThirdParty slice_header_first +syn keyword ngxDirectiveThirdParty slice_footer_last + + +endif diff --git a/syntax/modules/slowfs.vim b/syntax/modules/slowfs.vim new file mode 100644 index 00000000..dbd4e162 --- /dev/null +++ b/syntax/modules/slowfs.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" SlowFS Cache Module +" Module adding ability to cache static files. +syn keyword ngxDirectiveThirdParty slowfs_big_file_size +syn keyword ngxDirectiveThirdParty slowfs_cache +syn keyword ngxDirectiveThirdParty slowfs_cache_key +syn keyword ngxDirectiveThirdParty slowfs_cache_min_uses +syn keyword ngxDirectiveThirdParty slowfs_cache_path +syn keyword ngxDirectiveThirdParty slowfs_cache_purge +syn keyword ngxDirectiveThirdParty slowfs_cache_valid +syn keyword ngxDirectiveThirdParty slowfs_temp_path + + +endif diff --git a/syntax/modules/small-light.vim b/syntax/modules/small-light.vim new file mode 100644 index 00000000..83562b7c --- /dev/null +++ b/syntax/modules/small-light.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Small Light Module +" Dynamic Image Transformation Module For nginx. +syn keyword ngxDirectiveThirdParty small_light +syn keyword ngxDirectiveThirdParty small_light_getparam_mode +syn keyword ngxDirectiveThirdParty small_light_material_dir +syn keyword ngxDirectiveThirdParty small_light_pattern_define +syn keyword ngxDirectiveThirdParty small_light_radius_max +syn keyword ngxDirectiveThirdParty small_light_sigma_max +syn keyword ngxDirectiveThirdParty small_light_imlib2_temp_dir +syn keyword ngxDirectiveThirdParty small_light_buffer + + +endif diff --git a/syntax/modules/sorted-querystring-filter.vim b/syntax/modules/sorted-querystring-filter.vim new file mode 100644 index 00000000..c3b4116e --- /dev/null +++ b/syntax/modules/sorted-querystring-filter.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Sorted Querystring Filter Module +" Nginx module to expose querystring parameters sorted in a variable to be used on cache_key as example +syn keyword ngxDirectiveThirdParty sorted_querystring_filter_parameter + + +endif diff --git a/syntax/modules/sphinx2.vim b/syntax/modules/sphinx2.vim new file mode 100644 index 00000000..ff737113 --- /dev/null +++ b/syntax/modules/sphinx2.vim @@ -0,0 +1,14 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Sphinx2 Module +" Nginx upstream module for Sphinx 2.x +syn keyword ngxDirectiveThirdParty sphinx2_pass +syn keyword ngxDirectiveThirdParty sphinx2_bind +syn keyword ngxDirectiveThirdParty sphinx2_connect_timeout +syn keyword ngxDirectiveThirdParty sphinx2_send_timeout +syn keyword ngxDirectiveThirdParty sphinx2_buffer_size +syn keyword ngxDirectiveThirdParty sphinx2_read_timeout +syn keyword ngxDirectiveThirdParty sphinx2_next_upstream + + +endif diff --git a/syntax/modules/spnego-auth.vim b/syntax/modules/spnego-auth.vim new file mode 100644 index 00000000..d247b4f4 --- /dev/null +++ b/syntax/modules/spnego-auth.vim @@ -0,0 +1,13 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" HTTP SPNEGO auth Module +" This module implements adds SPNEGO support to nginx(http://nginx.org). It currently supports only Kerberos authentication via GSSAPI +syn keyword ngxDirectiveThirdParty auth_gss +syn keyword ngxDirectiveThirdParty auth_gss_keytab +syn keyword ngxDirectiveThirdParty auth_gss_realm +syn keyword ngxDirectiveThirdParty auth_gss_service_name +syn keyword ngxDirectiveThirdParty auth_gss_authorized_principal +syn keyword ngxDirectiveThirdParty auth_gss_allow_basic_fallback + + +endif diff --git a/syntax/modules/srcache.vim b/syntax/modules/srcache.vim new file mode 100644 index 00000000..93eca3d9 --- /dev/null +++ b/syntax/modules/srcache.vim @@ -0,0 +1,26 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" SR Cache Module +" Transparent subrequest-based caching layout for arbitrary nginx locations +syn keyword ngxDirectiveThirdParty srcache_fetch +syn keyword ngxDirectiveThirdParty srcache_fetch_skip +syn keyword ngxDirectiveThirdParty srcache_store +syn keyword ngxDirectiveThirdParty srcache_store_max_size +syn keyword ngxDirectiveThirdParty srcache_store_skip +syn keyword ngxDirectiveThirdParty srcache_store_statuses +syn keyword ngxDirectiveThirdParty srcache_store_ranges +syn keyword ngxDirectiveThirdParty srcache_header_buffer_size +syn keyword ngxDirectiveThirdParty srcache_store_hide_header +syn keyword ngxDirectiveThirdParty srcache_store_pass_header +syn keyword ngxDirectiveThirdParty srcache_methods +syn keyword ngxDirectiveThirdParty srcache_ignore_content_encoding +syn keyword ngxDirectiveThirdParty srcache_request_cache_control +syn keyword ngxDirectiveThirdParty srcache_response_cache_control +syn keyword ngxDirectiveThirdParty srcache_store_no_store +syn keyword ngxDirectiveThirdParty srcache_store_no_cache +syn keyword ngxDirectiveThirdParty srcache_store_private +syn keyword ngxDirectiveThirdParty srcache_default_expire +syn keyword ngxDirectiveThirdParty srcache_max_expire + + +endif diff --git a/syntax/modules/sssd-info.vim b/syntax/modules/sssd-info.vim new file mode 100644 index 00000000..150944fe --- /dev/null +++ b/syntax/modules/sssd-info.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" SSSD Info Module +" Retrives additional attributes from SSSD for current authentizated user +syn keyword ngxDirectiveThirdParty sssd_info +syn keyword ngxDirectiveThirdParty sssd_info_output_to +syn keyword ngxDirectiveThirdParty sssd_info_groups +syn keyword ngxDirectiveThirdParty sssd_info_group +syn keyword ngxDirectiveThirdParty sssd_info_group_separator +syn keyword ngxDirectiveThirdParty sssd_info_attributes +syn keyword ngxDirectiveThirdParty sssd_info_attribute +syn keyword ngxDirectiveThirdParty sssd_info_attribute_separator + + +endif diff --git a/syntax/modules/static-etags.vim b/syntax/modules/static-etags.vim new file mode 100644 index 00000000..dcaebac1 --- /dev/null +++ b/syntax/modules/static-etags.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Static Etags Module +" Generate etags for static content +syn keyword ngxDirectiveThirdParty FileETag + + +endif diff --git a/syntax/modules/statsd.vim b/syntax/modules/statsd.vim new file mode 100644 index 00000000..358d0682 --- /dev/null +++ b/syntax/modules/statsd.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Statsd Module +" An nginx module for sending statistics to statsd +syn keyword ngxDirectiveThirdParty statsd_server +syn keyword ngxDirectiveThirdParty statsd_sample_rate +syn keyword ngxDirectiveThirdParty statsd_count +syn keyword ngxDirectiveThirdParty statsd_timing + + +endif diff --git a/syntax/modules/sticky.vim b/syntax/modules/sticky.vim new file mode 100644 index 00000000..1bdc5382 --- /dev/null +++ b/syntax/modules/sticky.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Sticky Module +" Add a sticky cookie to be always forwarded to the same upstream server +syn keyword ngxDirectiveThirdParty sticky + + +endif diff --git a/syntax/modules/stream-echo.vim b/syntax/modules/stream-echo.vim new file mode 100644 index 00000000..1ca57ad8 --- /dev/null +++ b/syntax/modules/stream-echo.vim @@ -0,0 +1,22 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Stream 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 +syn keyword ngxDirectiveThirdParty echo_sleep +syn keyword ngxDirectiveThirdParty echo_send_timeout +syn keyword ngxDirectiveThirdParty echo_read_bytes +syn keyword ngxDirectiveThirdParty echo_read_line +syn keyword ngxDirectiveThirdParty echo_request_data +syn keyword ngxDirectiveThirdParty echo_discard_request +syn keyword ngxDirectiveThirdParty echo_read_buffer_size +syn keyword ngxDirectiveThirdParty echo_read_timeout +syn keyword ngxDirectiveThirdParty echo_client_error_log_level +syn keyword ngxDirectiveThirdParty echo_lingering_close +syn keyword ngxDirectiveThirdParty echo_lingering_time +syn keyword ngxDirectiveThirdParty echo_lingering_timeout + + +endif diff --git a/syntax/modules/stream-lua.vim b/syntax/modules/stream-lua.vim new file mode 100644 index 00000000..1e51ac92 --- /dev/null +++ b/syntax/modules/stream-lua.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Stream Lua Module +" Embed the power of Lua into Nginx stream/TCP Servers. +syn keyword ngxDirectiveThirdParty lua_resolver +syn keyword ngxDirectiveThirdParty lua_resolver_timeout +syn keyword ngxDirectiveThirdParty lua_lingering_close +syn keyword ngxDirectiveThirdParty lua_lingering_time +syn keyword ngxDirectiveThirdParty lua_lingering_timeout + + +endif diff --git a/syntax/modules/stream-upsync.vim b/syntax/modules/stream-upsync.vim new file mode 100644 index 00000000..2769f871 --- /dev/null +++ b/syntax/modules/stream-upsync.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Stream Upsync Module +" 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 +syn keyword ngxDirectiveThirdParty upsync_show + + +endif diff --git a/syntax/modules/strip.vim b/syntax/modules/strip.vim new file mode 100644 index 00000000..aceb3a25 --- /dev/null +++ b/syntax/modules/strip.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Strip Module +" Whitespace remover. +syn keyword ngxDirectiveThirdParty strip + + +endif diff --git a/syntax/modules/subrange.vim b/syntax/modules/subrange.vim new file mode 100644 index 00000000..9f1d0456 --- /dev/null +++ b/syntax/modules/subrange.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Subrange Module +" Split one big HTTP/Range request to multiple subrange requesets +syn keyword ngxDirectiveThirdParty subrange + + +endif diff --git a/syntax/modules/substitutions.vim b/syntax/modules/substitutions.vim new file mode 100644 index 00000000..f3263b98 --- /dev/null +++ b/syntax/modules/substitutions.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Substitutions Module +" A filter module which can do both regular expression and fixed string substitutions on response bodies. +syn keyword ngxDirectiveThirdParty subs_filter +syn keyword ngxDirectiveThirdParty subs_filter_types + + +endif diff --git a/syntax/modules/summarizer.vim b/syntax/modules/summarizer.vim new file mode 100644 index 00000000..574cda8a --- /dev/null +++ b/syntax/modules/summarizer.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Summarizer Module +" Upstream nginx module to get summaries of documents using the summarizer daemon service +syn keyword ngxDirectiveThirdParty smrzr_filename +syn keyword ngxDirectiveThirdParty smrzr_ratio + + +endif diff --git a/syntax/modules/supervisord.vim b/syntax/modules/supervisord.vim new file mode 100644 index 00000000..b4a2a349 --- /dev/null +++ b/syntax/modules/supervisord.vim @@ -0,0 +1,12 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Supervisord Module +" Module providing nginx with API to communicate with supervisord and manage (start/stop) backends on-demand. +syn keyword ngxDirectiveThirdParty supervisord +syn keyword ngxDirectiveThirdParty supervisord_inherit_backend_status +syn keyword ngxDirectiveThirdParty supervisord_name +syn keyword ngxDirectiveThirdParty supervisord_start +syn keyword ngxDirectiveThirdParty supervisord_stop + + +endif diff --git a/syntax/modules/tarantool-upstream.vim b/syntax/modules/tarantool-upstream.vim new file mode 100644 index 00000000..bebcf304 --- /dev/null +++ b/syntax/modules/tarantool-upstream.vim @@ -0,0 +1,22 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Tarantool Upstream Module +" 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 +syn keyword ngxDirectiveThirdParty tnt_pass_http_request +syn keyword ngxDirectiveThirdParty tnt_pass_http_request_buffer_size +syn keyword ngxDirectiveThirdParty tnt_method +syn keyword ngxDirectiveThirdParty tnt_http_allowed_methods - experemental +syn keyword ngxDirectiveThirdParty tnt_send_timeout +syn keyword ngxDirectiveThirdParty tnt_read_timeout +syn keyword ngxDirectiveThirdParty tnt_buffer_size +syn keyword ngxDirectiveThirdParty tnt_next_upstream +syn keyword ngxDirectiveThirdParty tnt_connect_timeout +syn keyword ngxDirectiveThirdParty tnt_next_upstream +syn keyword ngxDirectiveThirdParty tnt_next_upstream_tries +syn keyword ngxDirectiveThirdParty tnt_next_upstream_timeout + + +endif diff --git a/syntax/modules/tcp-proxy.vim b/syntax/modules/tcp-proxy.vim new file mode 100644 index 00000000..bfe03623 --- /dev/null +++ b/syntax/modules/tcp-proxy.vim @@ -0,0 +1,33 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" 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 +syn keyword ngxDirectiveThirdParty check +syn keyword ngxDirectiveThirdParty check_http_send +syn keyword ngxDirectiveThirdParty check_http_expect_alive +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 proxy_write_timeout + + +endif diff --git a/syntax/modules/testcookie.vim b/syntax/modules/testcookie.vim new file mode 100644 index 00000000..7087a3d4 --- /dev/null +++ b/syntax/modules/testcookie.vim @@ -0,0 +1,32 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Testcookie Module +" NGINX module for L7 DDoS attack mitigation +syn keyword ngxDirectiveThirdParty testcookie +syn keyword ngxDirectiveThirdParty testcookie_name +syn keyword ngxDirectiveThirdParty testcookie_domain +syn keyword ngxDirectiveThirdParty testcookie_expires +syn keyword ngxDirectiveThirdParty testcookie_path +syn keyword ngxDirectiveThirdParty testcookie_secret +syn keyword ngxDirectiveThirdParty testcookie_session +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_pass +syn keyword ngxDirectiveThirdParty testcookie_redirect_via_refresh +syn keyword ngxDirectiveThirdParty testcookie_refresh_template +syn keyword ngxDirectiveThirdParty testcookie_refresh_status +syn keyword ngxDirectiveThirdParty testcookie_deny_keepalive +syn keyword ngxDirectiveThirdParty testcookie_get_only +syn keyword ngxDirectiveThirdParty testcookie_https_location +syn keyword ngxDirectiveThirdParty testcookie_refresh_encrypt_cookie +syn keyword ngxDirectiveThirdParty testcookie_refresh_encrypt_cookie_key +syn keyword ngxDirectiveThirdParty testcookie_refresh_encrypt_iv +syn keyword ngxDirectiveThirdParty testcookie_internal +syn keyword ngxDirectiveThirdParty testcookie_httponly_flag +syn keyword ngxDirectiveThirdParty testcookie_secure_flag + + +endif diff --git a/syntax/modules/types-filter.vim b/syntax/modules/types-filter.vim new file mode 100644 index 00000000..f15e502b --- /dev/null +++ b/syntax/modules/types-filter.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Types Filter Module +" 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 + + +endif diff --git a/syntax/modules/unzip.vim b/syntax/modules/unzip.vim new file mode 100644 index 00000000..a2f35d7f --- /dev/null +++ b/syntax/modules/unzip.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Unzip Module +" Enabling fetching of files that are stored in zipped archives. +syn keyword ngxDirectiveThirdParty file_in_unzip_archivefile +syn keyword ngxDirectiveThirdParty file_in_unzip_extract +syn keyword ngxDirectiveThirdParty file_in_unzip + + +endif diff --git a/syntax/modules/upload-progress.vim b/syntax/modules/upload-progress.vim new file mode 100644 index 00000000..218b6d76 --- /dev/null +++ b/syntax/modules/upload-progress.vim @@ -0,0 +1,14 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Upload Progress Module +" Tracks and reports upload progress. +syn keyword ngxDirectiveThirdParty report_uploads +syn keyword ngxDirectiveThirdParty track_uploads +syn keyword ngxDirectiveThirdParty upload_progress +syn keyword ngxDirectiveThirdParty upload_progress_content_type +syn keyword ngxDirectiveThirdParty upload_progress_header +syn keyword ngxDirectiveThirdParty upload_progress_json_output +syn keyword ngxDirectiveThirdParty upload_progress_template + + +endif diff --git a/syntax/modules/upload.vim b/syntax/modules/upload.vim new file mode 100644 index 00000000..2699f338 --- /dev/null +++ b/syntax/modules/upload.vim @@ -0,0 +1,20 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Upload Module +" Parses multipart/form-data allowing arbitrary handling of uploaded files. +syn keyword ngxDirectiveThirdParty upload_aggregate_form_field +syn keyword ngxDirectiveThirdParty upload_buffer_size +syn keyword ngxDirectiveThirdParty upload_cleanup +syn keyword ngxDirectiveThirdParty upload_limit_rate +syn keyword ngxDirectiveThirdParty upload_max_file_size +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_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-fair.vim b/syntax/modules/upstream-fair.vim new file mode 100644 index 00000000..4dff6a22 --- /dev/null +++ b/syntax/modules/upstream-fair.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Upstream Fair Module +" The fair load balancer module for nginx http://nginx.localdomain.pl +syn keyword ngxDirectiveThirdParty fair +syn keyword ngxDirectiveThirdParty upstream_fair_shm_size + + +endif 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) +" Provides simple upstream load distribution by hashing a configurable variable. +syn keyword ngxDirectiveThirdParty hash +syn keyword ngxDirectiveThirdParty hash_again + + +endif diff --git a/syntax/modules/upstream-jdomain.vim b/syntax/modules/upstream-jdomain.vim new file mode 100644 index 00000000..ae7eb03d --- /dev/null +++ b/syntax/modules/upstream-jdomain.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Upstream Domain Resolve Module +" A load-balancer that resolves an upstream domain name asynchronously. +syn keyword ngxDirectiveThirdParty jdomain + + +endif diff --git a/syntax/modules/upsync.vim b/syntax/modules/upsync.vim new file mode 100644 index 00000000..ddf8a1a7 --- /dev/null +++ b/syntax/modules/upsync.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Upsync Module +" 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 +syn keyword ngxDirectiveThirdParty upstream_show + + +endif diff --git a/syntax/modules/url.vim b/syntax/modules/url.vim new file mode 100644 index 00000000..00169bb2 --- /dev/null +++ b/syntax/modules/url.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" URL Module +" Nginx url encoding converting module +syn keyword ngxDirectiveThirdParty url_encoding_convert +syn keyword ngxDirectiveThirdParty url_encoding_convert_from +syn keyword ngxDirectiveThirdParty url_encoding_convert_to + + +endif diff --git a/syntax/modules/user-agent.vim b/syntax/modules/user-agent.vim new file mode 100644 index 00000000..a718b2a1 --- /dev/null +++ b/syntax/modules/user-agent.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" User Agent Module +" Match browsers and crawlers +syn keyword ngxDirectiveThirdParty user_agent + + +endif diff --git a/syntax/modules/usptream-ketama-chash.vim b/syntax/modules/usptream-ketama-chash.vim new file mode 100644 index 00000000..57887a7b --- /dev/null +++ b/syntax/modules/usptream-ketama-chash.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Upstrema Ketama Chash Module +" Nginx load-balancer module implementing ketama consistent hashing. +syn keyword ngxDirectiveThirdParty ketama_chash + + +endif diff --git a/syntax/modules/video-thumbextractor.vim b/syntax/modules/video-thumbextractor.vim new file mode 100644 index 00000000..0abdc1a5 --- /dev/null +++ b/syntax/modules/video-thumbextractor.vim @@ -0,0 +1,24 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Video Thumbextractor Module +" Extract thumbs from a video file +syn keyword ngxDirectiveThirdParty video_thumbextractor +syn keyword ngxDirectiveThirdParty video_thumbextractor_video_filename +syn keyword ngxDirectiveThirdParty video_thumbextractor_video_second +syn keyword ngxDirectiveThirdParty video_thumbextractor_image_width +syn keyword ngxDirectiveThirdParty video_thumbextractor_image_height +syn keyword ngxDirectiveThirdParty video_thumbextractor_only_keyframe +syn keyword ngxDirectiveThirdParty video_thumbextractor_next_time +syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_rows +syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_cols +syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_max_rows +syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_max_cols +syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_sample_interval +syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_color +syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_margin +syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_padding +syn keyword ngxDirectiveThirdParty video_thumbextractor_threads +syn keyword ngxDirectiveThirdParty video_thumbextractor_processes_per_worker + + +endif diff --git a/syntax/modules/vkholodkov-eval.vim b/syntax/modules/vkholodkov-eval.vim new file mode 100644 index 00000000..711416be --- /dev/null +++ b/syntax/modules/vkholodkov-eval.vim @@ -0,0 +1,10 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" Eval Module +" 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_override_content_type + + +endif diff --git a/syntax/modules/vts.vim b/syntax/modules/vts.vim new file mode 100644 index 00000000..9c006c39 --- /dev/null +++ b/syntax/modules/vts.vim @@ -0,0 +1,20 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" VTS Module +" Nginx virtual host traffic status module +syn keyword ngxDirectiveThirdParty vhost_traffic_status +syn keyword ngxDirectiveThirdParty vhost_traffic_status_zone +syn keyword ngxDirectiveThirdParty vhost_traffic_status_display +syn keyword ngxDirectiveThirdParty vhost_traffic_status_display_format +syn keyword ngxDirectiveThirdParty vhost_traffic_status_display_jsonp +syn keyword ngxDirectiveThirdParty vhost_traffic_status_filter +syn keyword ngxDirectiveThirdParty vhost_traffic_status_filter_by_host +syn keyword ngxDirectiveThirdParty vhost_traffic_status_filter_by_set_key +syn keyword ngxDirectiveThirdParty vhost_traffic_status_filter_check_duplicate +syn keyword ngxDirectiveThirdParty vhost_traffic_status_limit +syn keyword ngxDirectiveThirdParty vhost_traffic_status_limit_traffic +syn keyword ngxDirectiveThirdParty vhost_traffic_status_limit_traffic_by_set_key +syn keyword ngxDirectiveThirdParty vhost_traffic_status_limit_check_duplicate + + +endif diff --git a/syntax/modules/xss.vim b/syntax/modules/xss.vim new file mode 100644 index 00000000..34d77a9f --- /dev/null +++ b/syntax/modules/xss.vim @@ -0,0 +1,11 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" XSS 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_input_types +syn keyword ngxDirectiveThirdParty xss_output_type + + +endif diff --git a/syntax/modules/zip.vim b/syntax/modules/zip.vim new file mode 100644 index 00000000..c78f6fd1 --- /dev/null +++ b/syntax/modules/zip.vim @@ -0,0 +1,7 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + +" ZIP Module +" ZIP archiver for nginx + + +endif -- cgit v1.2.3