blob: 18dd50cbb27d76309f39d19c027e79989853615a [file] [log] [blame]
Bram Moolenaar6e649222021-10-04 21:32:54 +01001" Vim syntax file
2" Language: nginx.conf
3" Maintainer: Chris Aumann <me@chr4.org>
4" Last Change: Apr 15, 2017
5
6if exists("b:current_syntax")
7 finish
8end
9
10let b:current_syntax = "nginx"
11
12syn match ngxVariable '\$\(\w\+\|{\w\+}\)'
13syn match ngxVariableBlock '\$\(\w\+\|{\w\+}\)' contained
14syn match ngxVariableString '\$\(\w\+\|{\w\+}\)' contained
15syn region ngxBlock start=+^+ end=+{+ skip=+\${\|{{\|{%+ contains=ngxComment,ngxInteger,ngxIPaddr,ngxDirectiveBlock,ngxVariableBlock,ngxString,ngxThirdPartyLuaBlock oneline
16syn region ngxString start=+[^:a-zA-Z>!\\@]\z(["']\)+lc=1 end=+\z1+ skip=+\\\\\|\\\z1+ contains=ngxVariableString,ngxSSLCipherInsecure
17syn match ngxComment ' *#.*$'
18
19" These regular expressions where taken (and adapted) from
20" http://vim.1045645.n5.nabble.com/IPv6-support-for-quot-dns-quot-zonefile-syntax-highlighting-td1197292.html
21syn match ngxInteger '\W\zs\(\d[0-9.]*\|[0-9.]*\d\)\w\?\ze\W'
22syn match ngxIPaddr '\([0-2]\?\d\{1,2}\.\)\{3}[0-2]\?\d\{1,2}'
23syn match ngxIPaddr '\[\(\x\{1,4}:\)\{6}\(\x\{1,4}:\x\{1,4}\|\([0-2]\?\d\{1,2}\.\)\{3}[0-2]\?\d\{1,2}\)\]'
24syn match ngxIPaddr '\[::\(\(\x\{1,4}:\)\{,6}\x\{1,4}\|\(\x\{1,4}:\)\{,5}\([0-2]\?\d\{1,2}\.\)\{3}[0-2]\?\d\{1,2}\)\]'
25syn match ngxIPaddr '\[\(\x\{1,4}:\)\{1}:\(\(\x\{1,4}:\)\{,5}\x\{1,4}\|\(\x\{1,4}:\)\{,4}\([0-2]\?\d\{1,2}\.\)\{3}[0-2]\?\d\{1,2}\)\]'
26syn match ngxIPaddr '\[\(\x\{1,4}:\)\{2}:\(\(\x\{1,4}:\)\{,4}\x\{1,4}\|\(\x\{1,4}:\)\{,3}\([0-2]\?\d\{1,2}\.\)\{3}[0-2]\?\d\{1,2}\)\]'
27syn match ngxIPaddr '\[\(\x\{1,4}:\)\{3}:\(\(\x\{1,4}:\)\{,3}\x\{1,4}\|\(\x\{1,4}:\)\{,2}\([0-2]\?\d\{1,2}\.\)\{3}[0-2]\?\d\{1,2}\)\]'
28syn match ngxIPaddr '\[\(\x\{1,4}:\)\{4}:\(\(\x\{1,4}:\)\{,2}\x\{1,4}\|\(\x\{1,4}:\)\{,1}\([0-2]\?\d\{1,2}\.\)\{3}[0-2]\?\d\{1,2}\)\]'
29syn match ngxIPaddr '\[\(\x\{1,4}:\)\{5}:\(\(\x\{1,4}:\)\{,1}\x\{1,4}\|\([0-2]\?\d\{1,2}\.\)\{3}[0-2]\?\d\{1,2}\)\]'
30syn match ngxIPaddr '\[\(\x\{1,4}:\)\{6}:\x\{1,4}\]'
31
32" Highlight wildcard listening signs also as IPaddr
33syn match ngxIPaddr '\s\zs\[::]'
34syn match ngxIPaddr '\s\zs\*'
35
36syn keyword ngxBoolean on
37syn keyword ngxBoolean off
38
39syn keyword ngxDirectiveBlock http contained
40syn keyword ngxDirectiveBlock mail contained
41syn keyword ngxDirectiveBlock events contained
42syn keyword ngxDirectiveBlock server contained
43syn keyword ngxDirectiveBlock match contained
44syn keyword ngxDirectiveBlock types contained
45syn keyword ngxDirectiveBlock location contained
46syn keyword ngxDirectiveBlock upstream contained
47syn keyword ngxDirectiveBlock charset_map contained
48syn keyword ngxDirectiveBlock limit_except contained
49syn keyword ngxDirectiveBlock if contained
50syn keyword ngxDirectiveBlock geo contained
51syn keyword ngxDirectiveBlock map contained
52syn keyword ngxDirectiveBlock split_clients contained
53
54syn keyword ngxDirectiveImportant include
55syn keyword ngxDirectiveImportant root
56syn keyword ngxDirectiveImportant server contained
57syn region ngxDirectiveImportantServer matchgroup=ngxDirectiveImportant start=+^\s*\zsserver\ze\s.*;+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxUpstreamServerOptions,ngxString,ngxIPaddr,ngxBoolean,ngxInteger,ngxTemplateVar
58syn keyword ngxDirectiveImportant server_name
59syn keyword ngxDirectiveImportant listen contained
60syn region ngxDirectiveImportantListen matchgroup=ngxDirectiveImportant start=+listen+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxListenOptions,ngxString,ngxIPaddr,ngxBoolean,ngxInteger,ngxTemplateVar
61syn keyword ngxDirectiveImportant internal
62syn keyword ngxDirectiveImportant proxy_pass
63syn keyword ngxDirectiveImportant memcached_pass
64syn keyword ngxDirectiveImportant fastcgi_pass
65syn keyword ngxDirectiveImportant scgi_pass
66syn keyword ngxDirectiveImportant uwsgi_pass
67syn keyword ngxDirectiveImportant try_files
68syn keyword ngxDirectiveImportant error_page
69syn keyword ngxDirectiveImportant post_action
70
71syn keyword ngxUpstreamServerOptions weight contained
72syn keyword ngxUpstreamServerOptions max_conns contained
73syn keyword ngxUpstreamServerOptions max_fails contained
74syn keyword ngxUpstreamServerOptions fail_timeout contained
75syn keyword ngxUpstreamServerOptions backup contained
76syn keyword ngxUpstreamServerOptions down contained
77syn keyword ngxUpstreamServerOptions resolve contained
78syn keyword ngxUpstreamServerOptions route contained
79syn keyword ngxUpstreamServerOptions service contained
80syn keyword ngxUpstreamServerOptions default_server contained
81syn keyword ngxUpstreamServerOptions slow_start contained
82
83syn keyword ngxListenOptions default_server contained
84syn keyword ngxListenOptions ssl contained
85syn keyword ngxListenOptions http2 contained
86syn keyword ngxListenOptions spdy contained
87syn keyword ngxListenOptions proxy_protocol contained
88syn keyword ngxListenOptions setfib contained
89syn keyword ngxListenOptions fastopen contained
90syn keyword ngxListenOptions backlog contained
91syn keyword ngxListenOptions rcvbuf contained
92syn keyword ngxListenOptions sndbuf contained
93syn keyword ngxListenOptions accept_filter contained
94syn keyword ngxListenOptions deferred contained
95syn keyword ngxListenOptions bind contained
96syn keyword ngxListenOptions ipv6only contained
97syn keyword ngxListenOptions reuseport contained
98syn keyword ngxListenOptions so_keepalive contained
99syn keyword ngxListenOptions keepidle contained
100
101syn keyword ngxDirectiveControl break
102syn keyword ngxDirectiveControl return
103syn keyword ngxDirectiveControl rewrite
104syn keyword ngxDirectiveControl set
105
106syn keyword ngxDirectiveDeprecated connections
107syn keyword ngxDirectiveDeprecated imap
108syn keyword ngxDirectiveDeprecated limit_zone
109syn keyword ngxDirectiveDeprecated mysql_test
110syn keyword ngxDirectiveDeprecated open_file_cache_retest
111syn keyword ngxDirectiveDeprecated optimize_server_names
112syn keyword ngxDirectiveDeprecated satisfy_any
113syn keyword ngxDirectiveDeprecated so_keepalive
114
115syn keyword ngxDirective absolute_redirect
116syn keyword ngxDirective accept_mutex
117syn keyword ngxDirective accept_mutex_delay
118syn keyword ngxDirective acceptex_read
119syn keyword ngxDirective access_log
120syn keyword ngxDirective add_after_body
121syn keyword ngxDirective add_before_body
122syn keyword ngxDirective add_header
123syn keyword ngxDirective addition_types
124syn keyword ngxDirective aio
125syn keyword ngxDirective aio_write
126syn keyword ngxDirective alias
127syn keyword ngxDirective allow
128syn keyword ngxDirective ancient_browser
129syn keyword ngxDirective ancient_browser_value
130syn keyword ngxDirective auth_basic
131syn keyword ngxDirective auth_basic_user_file
132syn keyword ngxDirective auth_http
133syn keyword ngxDirective auth_http_header
134syn keyword ngxDirective auth_http_pass_client_cert
135syn keyword ngxDirective auth_http_timeout
136syn keyword ngxDirective auth_jwt
137syn keyword ngxDirective auth_jwt_key_file
138syn keyword ngxDirective auth_request
139syn keyword ngxDirective auth_request_set
140syn keyword ngxDirective autoindex
141syn keyword ngxDirective autoindex_exact_size
142syn keyword ngxDirective autoindex_format
143syn keyword ngxDirective autoindex_localtime
144syn keyword ngxDirective charset
145syn keyword ngxDirective charset_map
146syn keyword ngxDirective charset_types
147syn keyword ngxDirective chunked_transfer_encoding
148syn keyword ngxDirective client_body_buffer_size
149syn keyword ngxDirective client_body_in_file_only
150syn keyword ngxDirective client_body_in_single_buffer
151syn keyword ngxDirective client_body_temp_path
152syn keyword ngxDirective client_body_timeout
153syn keyword ngxDirective client_header_buffer_size
154syn keyword ngxDirective client_header_timeout
155syn keyword ngxDirective client_max_body_size
156syn keyword ngxDirective connection_pool_size
157syn keyword ngxDirective create_full_put_path
158syn keyword ngxDirective daemon
159syn keyword ngxDirective dav_access
160syn keyword ngxDirective dav_methods
161syn keyword ngxDirective debug_connection
162syn keyword ngxDirective debug_points
163syn keyword ngxDirective default_type
164syn keyword ngxDirective degradation
165syn keyword ngxDirective degrade
166syn keyword ngxDirective deny
167syn keyword ngxDirective devpoll_changes
168syn keyword ngxDirective devpoll_events
169syn keyword ngxDirective directio
170syn keyword ngxDirective directio_alignment
171syn keyword ngxDirective disable_symlinks
172syn keyword ngxDirective empty_gif
173syn keyword ngxDirective env
174syn keyword ngxDirective epoll_events
175syn keyword ngxDirective error_log
176syn keyword ngxDirective etag
177syn keyword ngxDirective eventport_events
178syn keyword ngxDirective expires
179syn keyword ngxDirective f4f
180syn keyword ngxDirective f4f_buffer_size
181syn keyword ngxDirective fastcgi_bind
182syn keyword ngxDirective fastcgi_buffer_size
183syn keyword ngxDirective fastcgi_buffering
184syn keyword ngxDirective fastcgi_buffers
185syn keyword ngxDirective fastcgi_busy_buffers_size
186syn keyword ngxDirective fastcgi_cache
187syn keyword ngxDirective fastcgi_cache_bypass
188syn keyword ngxDirective fastcgi_cache_key
189syn keyword ngxDirective fastcgi_cache_lock
190syn keyword ngxDirective fastcgi_cache_lock_age
191syn keyword ngxDirective fastcgi_cache_lock_timeout
192syn keyword ngxDirective fastcgi_cache_max_range_offset
193syn keyword ngxDirective fastcgi_cache_methods
194syn keyword ngxDirective fastcgi_cache_min_uses
195syn keyword ngxDirective fastcgi_cache_path
196syn keyword ngxDirective fastcgi_cache_purge
197syn keyword ngxDirective fastcgi_cache_revalidate
198syn keyword ngxDirective fastcgi_cache_use_stale
199syn keyword ngxDirective fastcgi_cache_valid
200syn keyword ngxDirective fastcgi_catch_stderr
201syn keyword ngxDirective fastcgi_connect_timeout
202syn keyword ngxDirective fastcgi_force_ranges
203syn keyword ngxDirective fastcgi_hide_header
204syn keyword ngxDirective fastcgi_ignore_client_abort
205syn keyword ngxDirective fastcgi_ignore_headers
206syn keyword ngxDirective fastcgi_index
207syn keyword ngxDirective fastcgi_intercept_errors
208syn keyword ngxDirective fastcgi_keep_conn
209syn keyword ngxDirective fastcgi_limit_rate
210syn keyword ngxDirective fastcgi_max_temp_file_size
211syn keyword ngxDirective fastcgi_next_upstream
212syn keyword ngxDirective fastcgi_next_upstream_timeout
213syn keyword ngxDirective fastcgi_next_upstream_tries
214syn keyword ngxDirective fastcgi_no_cache
215syn keyword ngxDirective fastcgi_param
216syn keyword ngxDirective fastcgi_pass_header
217syn keyword ngxDirective fastcgi_pass_request_body
218syn keyword ngxDirective fastcgi_pass_request_headers
219syn keyword ngxDirective fastcgi_read_timeout
220syn keyword ngxDirective fastcgi_request_buffering
221syn keyword ngxDirective fastcgi_send_lowat
222syn keyword ngxDirective fastcgi_send_timeout
223syn keyword ngxDirective fastcgi_split_path_info
224syn keyword ngxDirective fastcgi_store
225syn keyword ngxDirective fastcgi_store_access
226syn keyword ngxDirective fastcgi_temp_file_write_size
227syn keyword ngxDirective fastcgi_temp_path
228syn keyword ngxDirective flv
229syn keyword ngxDirective geoip_city
230syn keyword ngxDirective geoip_country
231syn keyword ngxDirective geoip_org
232syn keyword ngxDirective geoip_proxy
233syn keyword ngxDirective geoip_proxy_recursive
234syn keyword ngxDirective google_perftools_profiles
235syn keyword ngxDirective gunzip
236syn keyword ngxDirective gunzip_buffers
237syn keyword ngxDirective gzip nextgroup=ngxGzipOn,ngxGzipOff skipwhite
238syn keyword ngxGzipOn on contained
239syn keyword ngxGzipOff off contained
240syn keyword ngxDirective gzip_buffers
241syn keyword ngxDirective gzip_comp_level
242syn keyword ngxDirective gzip_disable
243syn keyword ngxDirective gzip_hash
244syn keyword ngxDirective gzip_http_version
245syn keyword ngxDirective gzip_min_length
246syn keyword ngxDirective gzip_no_buffer
247syn keyword ngxDirective gzip_proxied
248syn keyword ngxDirective gzip_static
249syn keyword ngxDirective gzip_types
250syn keyword ngxDirective gzip_vary
251syn keyword ngxDirective gzip_window
252syn keyword ngxDirective hash
253syn keyword ngxDirective health_check
254syn keyword ngxDirective health_check_timeout
255syn keyword ngxDirective hls
256syn keyword ngxDirective hls_buffers
257syn keyword ngxDirective hls_forward_args
258syn keyword ngxDirective hls_fragment
259syn keyword ngxDirective hls_mp4_buffer_size
260syn keyword ngxDirective hls_mp4_max_buffer_size
261syn keyword ngxDirective http2_chunk_size
262syn keyword ngxDirective http2_body_preread_size
263syn keyword ngxDirective http2_idle_timeout
264syn keyword ngxDirective http2_max_concurrent_streams
265syn keyword ngxDirective http2_max_field_size
266syn keyword ngxDirective http2_max_header_size
267syn keyword ngxDirective http2_max_requests
268syn keyword ngxDirective http2_recv_buffer_size
269syn keyword ngxDirective http2_recv_timeout
270syn keyword ngxDirective if_modified_since
271syn keyword ngxDirective ignore_invalid_headers
272syn keyword ngxDirective image_filter
273syn keyword ngxDirective image_filter_buffer
274syn keyword ngxDirective image_filter_interlace
275syn keyword ngxDirective image_filter_jpeg_quality
276syn keyword ngxDirective image_filter_sharpen
277syn keyword ngxDirective image_filter_transparency
278syn keyword ngxDirective image_filter_webp_quality
279syn keyword ngxDirective imap_auth
280syn keyword ngxDirective imap_capabilities
281syn keyword ngxDirective imap_client_buffer
282syn keyword ngxDirective index
283syn keyword ngxDirective iocp_threads
284syn keyword ngxDirective ip_hash
285syn keyword ngxDirective js_access
286syn keyword ngxDirective js_content
287syn keyword ngxDirective js_filter
288syn keyword ngxDirective js_include
289syn keyword ngxDirective js_preread
290syn keyword ngxDirective js_set
291syn keyword ngxDirective keepalive
292syn keyword ngxDirective keepalive_disable
293syn keyword ngxDirective keepalive_requests
294syn keyword ngxDirective keepalive_timeout
295syn keyword ngxDirective kqueue_changes
296syn keyword ngxDirective kqueue_events
297syn keyword ngxDirective large_client_header_buffers
298syn keyword ngxDirective least_conn
299syn keyword ngxDirective least_time
300syn keyword ngxDirective limit_conn
301syn keyword ngxDirective limit_conn_dry_run
302syn keyword ngxDirective limit_conn_log_level
303syn keyword ngxDirective limit_conn_status
304syn keyword ngxDirective limit_conn_zone
305syn keyword ngxDirective limit_except
306syn keyword ngxDirective limit_rate
307syn keyword ngxDirective limit_rate_after
308syn keyword ngxDirective limit_req
309syn keyword ngxDirective limit_req_dry_run
310syn keyword ngxDirective limit_req_log_level
311syn keyword ngxDirective limit_req_status
312syn keyword ngxDirective limit_req_zone
313syn keyword ngxDirective lingering_close
314syn keyword ngxDirective lingering_time
315syn keyword ngxDirective lingering_timeout
316syn keyword ngxDirective load_module
317syn keyword ngxDirective lock_file
318syn keyword ngxDirective log_format
319syn keyword ngxDirective log_not_found
320syn keyword ngxDirective log_subrequest
321syn keyword ngxDirective map_hash_bucket_size
322syn keyword ngxDirective map_hash_max_size
323syn keyword ngxDirective master_process
324syn keyword ngxDirective max_ranges
325syn keyword ngxDirective memcached_bind
326syn keyword ngxDirective memcached_buffer_size
327syn keyword ngxDirective memcached_connect_timeout
328syn keyword ngxDirective memcached_force_ranges
329syn keyword ngxDirective memcached_gzip_flag
330syn keyword ngxDirective memcached_next_upstream
331syn keyword ngxDirective memcached_next_upstream_timeout
332syn keyword ngxDirective memcached_next_upstream_tries
333syn keyword ngxDirective memcached_read_timeout
334syn keyword ngxDirective memcached_send_timeout
335syn keyword ngxDirective merge_slashes
336syn keyword ngxDirective min_delete_depth
337syn keyword ngxDirective modern_browser
338syn keyword ngxDirective modern_browser_value
339syn keyword ngxDirective mp4
340syn keyword ngxDirective mp4_buffer_size
341syn keyword ngxDirective mp4_max_buffer_size
342syn keyword ngxDirective mp4_limit_rate
343syn keyword ngxDirective mp4_limit_rate_after
344syn keyword ngxDirective msie_padding
345syn keyword ngxDirective msie_refresh
346syn keyword ngxDirective multi_accept
347syn keyword ngxDirective ntlm
348syn keyword ngxDirective open_file_cache
349syn keyword ngxDirective open_file_cache_errors
350syn keyword ngxDirective open_file_cache_events
351syn keyword ngxDirective open_file_cache_min_uses
352syn keyword ngxDirective open_file_cache_valid
353syn keyword ngxDirective open_log_file_cache
354syn keyword ngxDirective output_buffers
355syn keyword ngxDirective override_charset
356syn keyword ngxDirective pcre_jit
357syn keyword ngxDirective perl
358syn keyword ngxDirective perl_modules
359syn keyword ngxDirective perl_require
360syn keyword ngxDirective perl_set
361syn keyword ngxDirective pid
362syn keyword ngxDirective pop3_auth
363syn keyword ngxDirective pop3_capabilities
364syn keyword ngxDirective port_in_redirect
365syn keyword ngxDirective post_acceptex
366syn keyword ngxDirective postpone_gzipping
367syn keyword ngxDirective postpone_output
368syn keyword ngxDirective preread_buffer_size
369syn keyword ngxDirective preread_timeout
370syn keyword ngxDirective protocol nextgroup=ngxMailProtocol skipwhite
371syn keyword ngxMailProtocol imap pop3 smtp contained
372syn keyword ngxDirective proxy
373syn keyword ngxDirective proxy_bind
374syn keyword ngxDirective proxy_buffer
375syn keyword ngxDirective proxy_buffer_size
376syn keyword ngxDirective proxy_buffering
377syn keyword ngxDirective proxy_buffers
378syn keyword ngxDirective proxy_busy_buffers_size
379syn keyword ngxDirective proxy_cache
380syn keyword ngxDirective proxy_cache_bypass
381syn keyword ngxDirective proxy_cache_convert_head
382syn keyword ngxDirective proxy_cache_key
383syn keyword ngxDirective proxy_cache_lock
384syn keyword ngxDirective proxy_cache_lock_age
385syn keyword ngxDirective proxy_cache_lock_timeout
386syn keyword ngxDirective proxy_cache_max_range_offset
387syn keyword ngxDirective proxy_cache_methods
388syn keyword ngxDirective proxy_cache_min_uses
389syn keyword ngxDirective proxy_cache_path
390syn keyword ngxDirective proxy_cache_purge
391syn keyword ngxDirective proxy_cache_revalidate
392syn keyword ngxDirective proxy_cache_use_stale
393syn keyword ngxDirective proxy_cache_valid
394syn keyword ngxDirective proxy_connect_timeout
395syn keyword ngxDirective proxy_cookie_domain
396syn keyword ngxDirective proxy_cookie_path
397syn keyword ngxDirective proxy_download_rate
398syn keyword ngxDirective proxy_force_ranges
399syn keyword ngxDirective proxy_headers_hash_bucket_size
400syn keyword ngxDirective proxy_headers_hash_max_size
401syn keyword ngxDirective proxy_hide_header
402syn keyword ngxDirective proxy_http_version
403syn keyword ngxDirective proxy_ignore_client_abort
404syn keyword ngxDirective proxy_ignore_headers
405syn keyword ngxDirective proxy_intercept_errors
406syn keyword ngxDirective proxy_limit_rate
407syn keyword ngxDirective proxy_max_temp_file_size
408syn keyword ngxDirective proxy_method
409syn keyword ngxDirective proxy_next_upstream contained
410syn region ngxDirectiveProxyNextUpstream matchgroup=ngxDirective start=+^\s*\zsproxy_next_upstream\ze\s.*;+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxProxyNextUpstreamOptions,ngxString,ngxTemplateVar
411syn keyword ngxDirective proxy_next_upstream_timeout
412syn keyword ngxDirective proxy_next_upstream_tries
413syn keyword ngxDirective proxy_no_cache
414syn keyword ngxDirective proxy_pass_error_message
415syn keyword ngxDirective proxy_pass_header
416syn keyword ngxDirective proxy_pass_request_body
417syn keyword ngxDirective proxy_pass_request_headers
418syn keyword ngxDirective proxy_protocol
419syn keyword ngxDirective proxy_protocol_timeout
420syn keyword ngxDirective proxy_read_timeout
421syn keyword ngxDirective proxy_redirect
422syn keyword ngxDirective proxy_request_buffering
423syn keyword ngxDirective proxy_responses
424syn keyword ngxDirective proxy_send_lowat
425syn keyword ngxDirective proxy_send_timeout
426syn keyword ngxDirective proxy_set_body
427syn keyword ngxDirective proxy_set_header
428syn keyword ngxDirective proxy_ssl_certificate
429syn keyword ngxDirective proxy_ssl_certificate_key
430syn keyword ngxDirective proxy_ssl_ciphers
431syn keyword ngxDirective proxy_ssl_crl
432syn keyword ngxDirective proxy_ssl_name
433syn keyword ngxDirective proxy_ssl_password_file
434syn keyword ngxDirective proxy_ssl_protocols nextgroup=ngxSSLProtocol skipwhite
435syn keyword ngxDirective proxy_ssl_server_name
436syn keyword ngxDirective proxy_ssl_session_reuse
437syn keyword ngxDirective proxy_ssl_trusted_certificate
438syn keyword ngxDirective proxy_ssl_verify
439syn keyword ngxDirective proxy_ssl_verify_depth
440syn keyword ngxDirective proxy_store
441syn keyword ngxDirective proxy_store_access
442syn keyword ngxDirective proxy_temp_file_write_size
443syn keyword ngxDirective proxy_temp_path
444syn keyword ngxDirective proxy_timeout
445syn keyword ngxDirective proxy_upload_rate
446syn keyword ngxDirective queue
447syn keyword ngxDirective random_index
448syn keyword ngxDirective read_ahead
449syn keyword ngxDirective real_ip_header
450syn keyword ngxDirective real_ip_recursive
451syn keyword ngxDirective recursive_error_pages
452syn keyword ngxDirective referer_hash_bucket_size
453syn keyword ngxDirective referer_hash_max_size
454syn keyword ngxDirective request_pool_size
455syn keyword ngxDirective reset_timedout_connection
456syn keyword ngxDirective resolver
457syn keyword ngxDirective resolver_timeout
458syn keyword ngxDirective rewrite_log
459syn keyword ngxDirective rtsig_overflow_events
460syn keyword ngxDirective rtsig_overflow_test
461syn keyword ngxDirective rtsig_overflow_threshold
462syn keyword ngxDirective rtsig_signo
463syn keyword ngxDirective satisfy
464syn keyword ngxDirective scgi_bind
465syn keyword ngxDirective scgi_buffer_size
466syn keyword ngxDirective scgi_buffering
467syn keyword ngxDirective scgi_buffers
468syn keyword ngxDirective scgi_busy_buffers_size
469syn keyword ngxDirective scgi_cache
470syn keyword ngxDirective scgi_cache_bypass
471syn keyword ngxDirective scgi_cache_key
472syn keyword ngxDirective scgi_cache_lock
473syn keyword ngxDirective scgi_cache_lock_age
474syn keyword ngxDirective scgi_cache_lock_timeout
475syn keyword ngxDirective scgi_cache_max_range_offset
476syn keyword ngxDirective scgi_cache_methods
477syn keyword ngxDirective scgi_cache_min_uses
478syn keyword ngxDirective scgi_cache_path
479syn keyword ngxDirective scgi_cache_purge
480syn keyword ngxDirective scgi_cache_revalidate
481syn keyword ngxDirective scgi_cache_use_stale
482syn keyword ngxDirective scgi_cache_valid
483syn keyword ngxDirective scgi_connect_timeout
484syn keyword ngxDirective scgi_force_ranges
485syn keyword ngxDirective scgi_hide_header
486syn keyword ngxDirective scgi_ignore_client_abort
487syn keyword ngxDirective scgi_ignore_headers
488syn keyword ngxDirective scgi_intercept_errors
489syn keyword ngxDirective scgi_limit_rate
490syn keyword ngxDirective scgi_max_temp_file_size
491syn keyword ngxDirective scgi_next_upstream
492syn keyword ngxDirective scgi_next_upstream_timeout
493syn keyword ngxDirective scgi_next_upstream_tries
494syn keyword ngxDirective scgi_no_cache
495syn keyword ngxDirective scgi_param
496syn keyword ngxDirective scgi_pass_header
497syn keyword ngxDirective scgi_pass_request_body
498syn keyword ngxDirective scgi_pass_request_headers
499syn keyword ngxDirective scgi_read_timeout
500syn keyword ngxDirective scgi_request_buffering
501syn keyword ngxDirective scgi_send_timeout
502syn keyword ngxDirective scgi_store
503syn keyword ngxDirective scgi_store_access
504syn keyword ngxDirective scgi_temp_file_write_size
505syn keyword ngxDirective scgi_temp_path
506syn keyword ngxDirective secure_link
507syn keyword ngxDirective secure_link_md5
508syn keyword ngxDirective secure_link_secret
509syn keyword ngxDirective send_lowat
510syn keyword ngxDirective send_timeout
511syn keyword ngxDirective sendfile
512syn keyword ngxDirective sendfile_max_chunk
513syn keyword ngxDirective server_name_in_redirect
514syn keyword ngxDirective server_names_hash_bucket_size
515syn keyword ngxDirective server_names_hash_max_size
516syn keyword ngxDirective server_tokens
517syn keyword ngxDirective session_log
518syn keyword ngxDirective session_log_format
519syn keyword ngxDirective session_log_zone
520syn keyword ngxDirective set_real_ip_from
521syn keyword ngxDirective slice
522syn keyword ngxDirective smtp_auth
523syn keyword ngxDirective smtp_capabilities
524syn keyword ngxDirective smtp_client_buffer
525syn keyword ngxDirective smtp_greeting_delay
526syn keyword ngxDirective source_charset
527syn keyword ngxDirective spdy_chunk_size
528syn keyword ngxDirective spdy_headers_comp
529syn keyword ngxDirective spdy_keepalive_timeout
530syn keyword ngxDirective spdy_max_concurrent_streams
531syn keyword ngxDirective spdy_pool_size
532syn keyword ngxDirective spdy_recv_buffer_size
533syn keyword ngxDirective spdy_recv_timeout
534syn keyword ngxDirective spdy_streams_index_size
535syn keyword ngxDirective ssi
536syn keyword ngxDirective ssi_ignore_recycled_buffers
537syn keyword ngxDirective ssi_last_modified
538syn keyword ngxDirective ssi_min_file_chunk
539syn keyword ngxDirective ssi_silent_errors
540syn keyword ngxDirective ssi_types
541syn keyword ngxDirective ssi_value_length
542syn keyword ngxDirective ssl
543syn keyword ngxDirective ssl_buffer_size
544syn keyword ngxDirective ssl_certificate
545syn keyword ngxDirective ssl_certificate_key
546syn keyword ngxDirective ssl_ciphers
547syn keyword ngxDirective ssl_client_certificate
548syn keyword ngxDirective ssl_crl
549syn keyword ngxDirective ssl_dhparam
550syn keyword ngxDirective ssl_ecdh_curve
551syn keyword ngxDirective ssl_engine
552syn keyword ngxDirective ssl_handshake_timeout
553syn keyword ngxDirective ssl_password_file
554syn keyword ngxDirective ssl_prefer_server_ciphers nextgroup=ngxSSLPreferServerCiphersOff,ngxSSLPreferServerCiphersOn skipwhite
555syn keyword ngxSSLPreferServerCiphersOn on contained
556syn keyword ngxSSLPreferServerCiphersOff off contained
557syn keyword ngxDirective ssl_preread
558syn keyword ngxDirective ssl_protocols nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
559syn match ngxSSLProtocol 'TLSv1' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
560syn match ngxSSLProtocol 'TLSv1\.1' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
561syn match ngxSSLProtocol 'TLSv1\.2' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
562syn match ngxSSLProtocol 'TLSv1\.3' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
563
564" Do not enable highlighting of insecure protocols if sslecure is loaded
565if !exists('g:loaded_sslsecure')
566 syn keyword ngxSSLProtocolDeprecated SSLv2 SSLv3 contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
567else
568 syn match ngxSSLProtocol 'SSLv2' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
569 syn match ngxSSLProtocol 'SSLv3' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
570endif
571
572syn keyword ngxDirective ssl_session_cache
573syn keyword ngxDirective ssl_session_ticket_key
574syn keyword ngxDirective ssl_session_tickets nextgroup=ngxSSLSessionTicketsOn,ngxSSLSessionTicketsOff skipwhite
575syn keyword ngxSSLSessionTicketsOn on contained
576syn keyword ngxSSLSessionTicketsOff off contained
577syn keyword ngxDirective ssl_session_timeout
578syn keyword ngxDirective ssl_stapling
579syn keyword ngxDirective ssl_stapling_file
580syn keyword ngxDirective ssl_stapling_responder
581syn keyword ngxDirective ssl_stapling_verify
582syn keyword ngxDirective ssl_trusted_certificate
583syn keyword ngxDirective ssl_verify_client
584syn keyword ngxDirective ssl_verify_depth
585syn keyword ngxDirective starttls
586syn keyword ngxDirective state
587syn keyword ngxDirective status
588syn keyword ngxDirective status_format
589syn keyword ngxDirective status_zone
590syn keyword ngxDirective sticky contained
591syn keyword ngxDirective sticky_cookie_insert contained
592syn region ngxDirectiveSticky matchgroup=ngxDirective start=+^\s*\zssticky\ze\s.*;+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxCookieOptions,ngxString,ngxBoolean,ngxInteger,ngxTemplateVar
593syn keyword ngxDirective stub_status
594syn keyword ngxDirective sub_filter
595syn keyword ngxDirective sub_filter_last_modified
596syn keyword ngxDirective sub_filter_once
597syn keyword ngxDirective sub_filter_types
598syn keyword ngxDirective tcp_nodelay
599syn keyword ngxDirective tcp_nopush
600syn keyword ngxDirective thread_pool
601syn keyword ngxDirective thread_stack_size
602syn keyword ngxDirective timeout
603syn keyword ngxDirective timer_resolution
604syn keyword ngxDirective types_hash_bucket_size
605syn keyword ngxDirective types_hash_max_size
606syn keyword ngxDirective underscores_in_headers
607syn keyword ngxDirective uninitialized_variable_warn
608syn keyword ngxDirective upstream_conf
609syn keyword ngxDirective use
610syn keyword ngxDirective user
611syn keyword ngxDirective userid
612syn keyword ngxDirective userid_domain
613syn keyword ngxDirective userid_expires
614syn keyword ngxDirective userid_mark
615syn keyword ngxDirective userid_name
616syn keyword ngxDirective userid_p3p
617syn keyword ngxDirective userid_path
618syn keyword ngxDirective userid_service
619syn keyword ngxDirective uwsgi_bind
620syn keyword ngxDirective uwsgi_buffer_size
621syn keyword ngxDirective uwsgi_buffering
622syn keyword ngxDirective uwsgi_buffers
623syn keyword ngxDirective uwsgi_busy_buffers_size
624syn keyword ngxDirective uwsgi_cache
625syn keyword ngxDirective uwsgi_cache_bypass
626syn keyword ngxDirective uwsgi_cache_key
627syn keyword ngxDirective uwsgi_cache_lock
628syn keyword ngxDirective uwsgi_cache_lock_age
629syn keyword ngxDirective uwsgi_cache_lock_timeout
630syn keyword ngxDirective uwsgi_cache_methods
631syn keyword ngxDirective uwsgi_cache_min_uses
632syn keyword ngxDirective uwsgi_cache_path
633syn keyword ngxDirective uwsgi_cache_purge
634syn keyword ngxDirective uwsgi_cache_revalidate
635syn keyword ngxDirective uwsgi_cache_use_stale
636syn keyword ngxDirective uwsgi_cache_valid
637syn keyword ngxDirective uwsgi_connect_timeout
638syn keyword ngxDirective uwsgi_force_ranges
639syn keyword ngxDirective uwsgi_hide_header
640syn keyword ngxDirective uwsgi_ignore_client_abort
641syn keyword ngxDirective uwsgi_ignore_headers
642syn keyword ngxDirective uwsgi_intercept_errors
643syn keyword ngxDirective uwsgi_limit_rate
644syn keyword ngxDirective uwsgi_max_temp_file_size
645syn keyword ngxDirective uwsgi_modifier1
646syn keyword ngxDirective uwsgi_modifier2
647syn keyword ngxDirective uwsgi_next_upstream
648syn keyword ngxDirective uwsgi_next_upstream_timeout
649syn keyword ngxDirective uwsgi_next_upstream_tries
650syn keyword ngxDirective uwsgi_no_cache
651syn keyword ngxDirective uwsgi_param
652syn keyword ngxDirective uwsgi_pass
653syn keyword ngxDirective uwsgi_pass_header
654syn keyword ngxDirective uwsgi_pass_request_body
655syn keyword ngxDirective uwsgi_pass_request_headers
656syn keyword ngxDirective uwsgi_read_timeout
657syn keyword ngxDirective uwsgi_request_buffering
658syn keyword ngxDirective uwsgi_send_timeout
659syn keyword ngxDirective uwsgi_ssl_certificate
660syn keyword ngxDirective uwsgi_ssl_certificate_key
661syn keyword ngxDirective uwsgi_ssl_ciphers
662syn keyword ngxDirective uwsgi_ssl_crl
663syn keyword ngxDirective uwsgi_ssl_name
664syn keyword ngxDirective uwsgi_ssl_password_file
665syn keyword ngxDirective uwsgi_ssl_protocols nextgroup=ngxSSLProtocol skipwhite
666syn keyword ngxDirective uwsgi_ssl_server_name
667syn keyword ngxDirective uwsgi_ssl_session_reuse
668syn keyword ngxDirective uwsgi_ssl_trusted_certificate
669syn keyword ngxDirective uwsgi_ssl_verify
670syn keyword ngxDirective uwsgi_ssl_verify_depth
671syn keyword ngxDirective uwsgi_store
672syn keyword ngxDirective uwsgi_store_access
673syn keyword ngxDirective uwsgi_string
674syn keyword ngxDirective uwsgi_temp_file_write_size
675syn keyword ngxDirective uwsgi_temp_path
676syn keyword ngxDirective valid_referers
677syn keyword ngxDirective variables_hash_bucket_size
678syn keyword ngxDirective variables_hash_max_size
679syn keyword ngxDirective worker_aio_requests
680syn keyword ngxDirective worker_connections
681syn keyword ngxDirective worker_cpu_affinity
682syn keyword ngxDirective worker_priority
683syn keyword ngxDirective worker_processes
684syn keyword ngxDirective worker_rlimit_core
685syn keyword ngxDirective worker_rlimit_nofile
686syn keyword ngxDirective worker_rlimit_sigpending
687syn keyword ngxDirective worker_threads
688syn keyword ngxDirective working_directory
689syn keyword ngxDirective xclient
690syn keyword ngxDirective xml_entities
691syn keyword ngxDirective xslt_last_modified
692syn keyword ngxDirective xslt_param
693syn keyword ngxDirective xslt_string_param
694syn keyword ngxDirective xslt_stylesheet
695syn keyword ngxDirective xslt_types
696syn keyword ngxDirective zone
697
698" Do not enable highlighting of insecure ciphers if sslecure is loaded
699if !exists('g:loaded_sslsecure')
700 " Mark insecure SSL Ciphers (Note: List might not not complete)
701 " Reference: https://www.openssl.org/docs/man1.0.2/apps/ciphers.html
702 syn match ngxSSLCipherInsecure '[^!]\zsSSLv3'
703 syn match ngxSSLCipherInsecure '[^!]\zsSSLv2'
704 syn match ngxSSLCipherInsecure '[^!]\zsHIGH'
705 syn match ngxSSLCipherInsecure '[^!]\zsMEDIUM'
706 syn match ngxSSLCipherInsecure '[^!]\zsLOW'
707 syn match ngxSSLCipherInsecure '[^!]\zsDEFAULT'
708 syn match ngxSSLCipherInsecure '[^!]\zsCOMPLEMENTOFDEFAULT'
709 syn match ngxSSLCipherInsecure '[^!]\zsALL'
710 syn match ngxSSLCipherInsecure '[^!]\zsCOMPLEMENTOFALL'
711
712 " SHA ciphers are only used in HMAC with all known OpenSSL/ LibreSSL cipher suites and MAC
713 " usage is still considered safe
714 " syn match ngxSSLCipherInsecure '[^!]\zsSHA\ze\D' " Match SHA1 without matching SHA256+
715 " syn match ngxSSLCipherInsecure '[^!]\zsSHA1'
716 syn match ngxSSLCipherInsecure '[^!]\zsMD5'
717 syn match ngxSSLCipherInsecure '[^!]\zsRC2'
718 syn match ngxSSLCipherInsecure '[^!]\zsRC4'
719 syn match ngxSSLCipherInsecure '[^!]\zs3DES'
720 syn match ngxSSLCipherInsecure '[^!3]\zsDES'
721 syn match ngxSSLCipherInsecure '[^!]\zsaDSS'
722 syn match ngxSSLCipherInsecure '[^!a]\zsDSS'
723 syn match ngxSSLCipherInsecure '[^!]\zsPSK'
724 syn match ngxSSLCipherInsecure '[^!]\zsIDEA'
725 syn match ngxSSLCipherInsecure '[^!]\zsSEED'
726 syn match ngxSSLCipherInsecure '[^!]\zsEXP\w*' " Match all EXPORT ciphers
727 syn match ngxSSLCipherInsecure '[^!]\zsaGOST\w*' " Match all GOST ciphers
728 syn match ngxSSLCipherInsecure '[^!]\zskGOST\w*'
729 syn match ngxSSLCipherInsecure '[^!ak]\zsGOST\w*'
730 syn match ngxSSLCipherInsecure '[^!]\zs[kae]\?FZA' " Not implemented
731 syn match ngxSSLCipherInsecure '[^!]\zsECB'
732 syn match ngxSSLCipherInsecure '[^!]\zs[aes]NULL'
733
734 " Anonymous cipher suites should never be used
735 syn match ngxSSLCipherInsecure '[^!ECa]\zsDH\ze[^E]' " Try to match DH without DHE, EDH, EECDH, etc.
736 syn match ngxSSLCipherInsecure '[^!EA]\zsECDH\ze[^E]' " Do not match EECDH, ECDHE
737 syn match ngxSSLCipherInsecure '[^!]\zsADH'
738 syn match ngxSSLCipherInsecure '[^!]\zskDHE'
739 syn match ngxSSLCipherInsecure '[^!]\zskEDH'
740 syn match ngxSSLCipherInsecure '[^!]\zskECDHE'
741 syn match ngxSSLCipherInsecure '[^!]\zskEECDH'
742 syn match ngxSSLCipherInsecure '[^!E]\zsAECDH'
743endif
744
745syn keyword ngxProxyNextUpstreamOptions error contained
746syn keyword ngxProxyNextUpstreamOptions timeout contained
747syn keyword ngxProxyNextUpstreamOptions invalid_header contained
748syn keyword ngxProxyNextUpstreamOptions http_500 contained
749syn keyword ngxProxyNextUpstreamOptions http_502 contained
750syn keyword ngxProxyNextUpstreamOptions http_503 contained
751syn keyword ngxProxyNextUpstreamOptions http_504 contained
752syn keyword ngxProxyNextUpstreamOptions http_403 contained
753syn keyword ngxProxyNextUpstreamOptions http_404 contained
754syn keyword ngxProxyNextUpstreamOptions http_429 contained
755syn keyword ngxProxyNextUpstreamOptions non_idempotent contained
756syn keyword ngxProxyNextUpstreamOptions off contained
757
758syn keyword ngxStickyOptions cookie contained
759syn region ngxStickyOptionsCookie matchgroup=ngxStickyOptions start=+^\s*\zssticky\s\s*cookie\ze\s.*;+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxCookieOptions,ngxString,ngxBoolean,ngxInteger,ngxTemplateVar
760syn keyword ngxStickyOptions route contained
761syn keyword ngxStickyOptions learn contained
762
763syn keyword ngxCookieOptions expires contained
764syn keyword ngxCookieOptions domain contained
765syn keyword ngxCookieOptions httponly contained
766syn keyword ngxCookieOptions secure contained
767syn keyword ngxCookieOptions path contained
768
769" 3rd party module list:
770" https://www.nginx.com/resources/wiki/modules/
771
772" Accept Language Module <https://www.nginx.com/resources/wiki/modules/accept_language/>
773" Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
774syn keyword ngxDirectiveThirdParty set_from_accept_language
775
776" Access Key Module (DEPRECATED) <http://wiki.nginx.org/NginxHttpAccessKeyModule>
777" Denies access unless the request URL contains an access key.
778syn keyword ngxDirectiveDeprecated accesskey
779syn keyword ngxDirectiveDeprecated accesskey_arg
780syn keyword ngxDirectiveDeprecated accesskey_hashmethod
781syn keyword ngxDirectiveDeprecated accesskey_signature
782
783" Asynchronous FastCGI Module <https://github.com/rsms/afcgi>
784" Primarily a modified version of the Nginx FastCGI module which implements multiplexing of connections, allowing a single FastCGI server to handle many concurrent requests.
785" syn keyword ngxDirectiveThirdParty fastcgi_bind
786" syn keyword ngxDirectiveThirdParty fastcgi_buffer_size
787" syn keyword ngxDirectiveThirdParty fastcgi_buffers
788" syn keyword ngxDirectiveThirdParty fastcgi_busy_buffers_size
789" syn keyword ngxDirectiveThirdParty fastcgi_cache
790" syn keyword ngxDirectiveThirdParty fastcgi_cache_key
791" syn keyword ngxDirectiveThirdParty fastcgi_cache_methods
792" syn keyword ngxDirectiveThirdParty fastcgi_cache_min_uses
793" syn keyword ngxDirectiveThirdParty fastcgi_cache_path
794" syn keyword ngxDirectiveThirdParty fastcgi_cache_use_stale
795" syn keyword ngxDirectiveThirdParty fastcgi_cache_valid
796" syn keyword ngxDirectiveThirdParty fastcgi_catch_stderr
797" syn keyword ngxDirectiveThirdParty fastcgi_connect_timeout
798" syn keyword ngxDirectiveThirdParty fastcgi_hide_header
799" syn keyword ngxDirectiveThirdParty fastcgi_ignore_client_abort
800" syn keyword ngxDirectiveThirdParty fastcgi_ignore_headers
801" syn keyword ngxDirectiveThirdParty fastcgi_index
802" syn keyword ngxDirectiveThirdParty fastcgi_intercept_errors
803" syn keyword ngxDirectiveThirdParty fastcgi_max_temp_file_size
804" syn keyword ngxDirectiveThirdParty fastcgi_next_upstream
805" syn keyword ngxDirectiveThirdParty fastcgi_param
806" syn keyword ngxDirectiveThirdParty fastcgi_pass
807" syn keyword ngxDirectiveThirdParty fastcgi_pass_header
808" syn keyword ngxDirectiveThirdParty fastcgi_pass_request_body
809" syn keyword ngxDirectiveThirdParty fastcgi_pass_request_headers
810" syn keyword ngxDirectiveThirdParty fastcgi_read_timeout
811" syn keyword ngxDirectiveThirdParty fastcgi_send_lowat
812" syn keyword ngxDirectiveThirdParty fastcgi_send_timeout
813" syn keyword ngxDirectiveThirdParty fastcgi_split_path_info
814" syn keyword ngxDirectiveThirdParty fastcgi_store
815" syn keyword ngxDirectiveThirdParty fastcgi_store_access
816" syn keyword ngxDirectiveThirdParty fastcgi_temp_file_write_size
817" syn keyword ngxDirectiveThirdParty fastcgi_temp_path
818syn keyword ngxDirectiveDeprecated fastcgi_upstream_fail_timeout
819syn keyword ngxDirectiveDeprecated fastcgi_upstream_max_fails
820
821" Akamai G2O Module <https://github.com/kaltura/nginx_mod_akamai_g2o>
822" Nginx Module for Authenticating Akamai G2O requests
823syn keyword ngxDirectiveThirdParty g2o
824syn keyword ngxDirectiveThirdParty g2o_nonce
825syn keyword ngxDirectiveThirdParty g2o_key
826
827" Lua Module <https://github.com/alacner/nginx_lua_module>
828" You can be very simple to execute lua code for nginx
829syn keyword ngxDirectiveThirdParty lua_file
830
831" Array Variable Module <https://github.com/openresty/array-var-nginx-module>
832" Add support for array-typed variables to nginx config files
833syn keyword ngxDirectiveThirdParty array_split
834syn keyword ngxDirectiveThirdParty array_join
835syn keyword ngxDirectiveThirdParty array_map
836syn keyword ngxDirectiveThirdParty array_map_op
837
838" Nginx Audio Track for HTTP Live Streaming <https://github.com/flavioribeiro/nginx-audio-track-for-hls-module>
839" This nginx module generates audio track for hls streams on the fly.
840syn keyword ngxDirectiveThirdParty ngx_hls_audio_track
841syn keyword ngxDirectiveThirdParty ngx_hls_audio_track_rootpath
842syn keyword ngxDirectiveThirdParty ngx_hls_audio_track_output_format
843syn keyword ngxDirectiveThirdParty ngx_hls_audio_track_output_header
844
845" AWS Proxy Module <https://github.com/anomalizer/ngx_aws_auth>
846" Nginx module to proxy to authenticated AWS services
847syn keyword ngxDirectiveThirdParty aws_access_key
848syn keyword ngxDirectiveThirdParty aws_key_scope
849syn keyword ngxDirectiveThirdParty aws_signing_key
850syn keyword ngxDirectiveThirdParty aws_endpoint
851syn keyword ngxDirectiveThirdParty aws_s3_bucket
852syn keyword ngxDirectiveThirdParty aws_sign
853
854" Backtrace module <https://github.com/alibaba/nginx-backtrace>
855" A Nginx module to dump backtrace when a worker process exits abnormally
856syn keyword ngxDirectiveThirdParty backtrace_log
857syn keyword ngxDirectiveThirdParty backtrace_max_stack_size
858
859" Brotli Module <https://github.com/google/ngx_brotli>
860" Nginx module for Brotli compression
861syn keyword ngxDirectiveThirdParty brotli_static
862syn keyword ngxDirectiveThirdParty brotli
863syn keyword ngxDirectiveThirdParty brotli_types
864syn keyword ngxDirectiveThirdParty brotli_buffers
865syn keyword ngxDirectiveThirdParty brotli_comp_level
866syn keyword ngxDirectiveThirdParty brotli_window
867syn keyword ngxDirectiveThirdParty brotli_min_length
868
869" Cache Purge Module <https://github.com/FRiCKLE/ngx_cache_purge>
870" Adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches.
871syn keyword ngxDirectiveThirdParty fastcgi_cache_purge
872syn keyword ngxDirectiveThirdParty proxy_cache_purge
873" syn keyword ngxDirectiveThirdParty scgi_cache_purge
874" syn keyword ngxDirectiveThirdParty uwsgi_cache_purge
875
876" Chunkin Module (DEPRECATED) <http://wiki.nginx.org/NginxHttpChunkinModule>
877" HTTP 1.1 chunked-encoding request body support for Nginx.
878syn keyword ngxDirectiveDeprecated chunkin
879syn keyword ngxDirectiveDeprecated chunkin_keepalive
880syn keyword ngxDirectiveDeprecated chunkin_max_chunks_per_buf
881syn keyword ngxDirectiveDeprecated chunkin_resume
882
883" Circle GIF Module <https://github.com/evanmiller/nginx_circle_gif>
884" Generates simple circle images with the colors and size specified in the URL.
885syn keyword ngxDirectiveThirdParty circle_gif
886syn keyword ngxDirectiveThirdParty circle_gif_max_radius
887syn keyword ngxDirectiveThirdParty circle_gif_min_radius
888syn keyword ngxDirectiveThirdParty circle_gif_step_radius
889
890" Nginx-Clojure Module <http://nginx-clojure.github.io/index.html>
891" Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
892syn keyword ngxDirectiveThirdParty jvm_path
893syn keyword ngxDirectiveThirdParty jvm_var
894syn keyword ngxDirectiveThirdParty jvm_classpath
895syn keyword ngxDirectiveThirdParty jvm_classpath_check
896syn keyword ngxDirectiveThirdParty jvm_workers
897syn keyword ngxDirectiveThirdParty jvm_options
898syn keyword ngxDirectiveThirdParty jvm_handler_type
899syn keyword ngxDirectiveThirdParty jvm_init_handler_name
900syn keyword ngxDirectiveThirdParty jvm_init_handler_code
901syn keyword ngxDirectiveThirdParty jvm_exit_handler_name
902syn keyword ngxDirectiveThirdParty jvm_exit_handler_code
903syn keyword ngxDirectiveThirdParty handlers_lazy_init
904syn keyword ngxDirectiveThirdParty auto_upgrade_ws
905syn keyword ngxDirectiveThirdParty content_handler_type
906syn keyword ngxDirectiveThirdParty content_handler_name
907syn keyword ngxDirectiveThirdParty content_handler_code
908syn keyword ngxDirectiveThirdParty rewrite_handler_type
909syn keyword ngxDirectiveThirdParty rewrite_handler_name
910syn keyword ngxDirectiveThirdParty rewrite_handler_code
911syn keyword ngxDirectiveThirdParty access_handler_type
912syn keyword ngxDirectiveThirdParty access_handler_name
913syn keyword ngxDirectiveThirdParty access_handler_code
914syn keyword ngxDirectiveThirdParty header_filter_type
915syn keyword ngxDirectiveThirdParty header_filter_name
916syn keyword ngxDirectiveThirdParty header_filter_code
917syn keyword ngxDirectiveThirdParty content_handler_property
918syn keyword ngxDirectiveThirdParty rewrite_handler_property
919syn keyword ngxDirectiveThirdParty access_handler_property
920syn keyword ngxDirectiveThirdParty header_filter_property
921syn keyword ngxDirectiveThirdParty always_read_body
922syn keyword ngxDirectiveThirdParty shared_map
923syn keyword ngxDirectiveThirdParty write_page_size
924
925" Upstream Consistent Hash <https://www.nginx.com/resources/wiki/modules/consistent_hash/>
926" A load balancer that uses an internal consistent hash ring to select the right backend node.
927syn keyword ngxDirectiveThirdParty consistent_hash
928
929" Nginx Development Kit <https://github.com/simpl/ngx_devel_kit>
930" 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.
931" NDK_UPSTREAM_LIST
932" 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.
933syn keyword ngxDirectiveThirdParty upstream_list
934
935" Drizzle Module <https://www.nginx.com/resources/wiki/modules/drizzle/>
936" Upstream module for talking to MySQL and Drizzle directly
937syn keyword ngxDirectiveThirdParty drizzle_server
938syn keyword ngxDirectiveThirdParty drizzle_keepalive
939syn keyword ngxDirectiveThirdParty drizzle_query
940syn keyword ngxDirectiveThirdParty drizzle_pass
941syn keyword ngxDirectiveThirdParty drizzle_connect_timeout
942syn keyword ngxDirectiveThirdParty drizzle_send_query_timeout
943syn keyword ngxDirectiveThirdParty drizzle_recv_cols_timeout
944syn keyword ngxDirectiveThirdParty drizzle_recv_rows_timeout
945syn keyword ngxDirectiveThirdParty drizzle_buffer_size
946syn keyword ngxDirectiveThirdParty drizzle_module_header
947syn keyword ngxDirectiveThirdParty drizzle_status
948
949" Dynamic ETags Module <https://github.com/kali/nginx-dynamic-etags>
950" Attempt at handling ETag / If-None-Match on proxied content.
951syn keyword ngxDirectiveThirdParty dynamic_etags
952
953" Echo Module <https://www.nginx.com/resources/wiki/modules/echo/>
954" Bringing the power of "echo", "sleep", "time" and more to Nginx's config file
955syn keyword ngxDirectiveThirdParty echo
956syn keyword ngxDirectiveThirdParty echo_duplicate
957syn keyword ngxDirectiveThirdParty echo_flush
958syn keyword ngxDirectiveThirdParty echo_sleep
959syn keyword ngxDirectiveThirdParty echo_blocking_sleep
960syn keyword ngxDirectiveThirdParty echo_reset_timer
961syn keyword ngxDirectiveThirdParty echo_read_request_body
962syn keyword ngxDirectiveThirdParty echo_location_async
963syn keyword ngxDirectiveThirdParty echo_location
964syn keyword ngxDirectiveThirdParty echo_subrequest_async
965syn keyword ngxDirectiveThirdParty echo_subrequest
966syn keyword ngxDirectiveThirdParty echo_foreach_split
967syn keyword ngxDirectiveThirdParty echo_end
968syn keyword ngxDirectiveThirdParty echo_request_body
969syn keyword ngxDirectiveThirdParty echo_exec
970syn keyword ngxDirectiveThirdParty echo_status
971syn keyword ngxDirectiveThirdParty echo_before_body
972syn keyword ngxDirectiveThirdParty echo_after_body
973
974" Encrypted Session Module <https://github.com/openresty/encrypted-session-nginx-module>
975" Encrypt and decrypt nginx variable values
976syn keyword ngxDirectiveThirdParty encrypted_session_key
977syn keyword ngxDirectiveThirdParty encrypted_session_iv
978syn keyword ngxDirectiveThirdParty encrypted_session_expires
979syn keyword ngxDirectiveThirdParty set_encrypt_session
980syn keyword ngxDirectiveThirdParty set_decrypt_session
981
982" Enhanced Memcached Module <https://github.com/bpaquet/ngx_http_enhanced_memcached_module>
983" This module is based on the standard Nginx Memcached module, with some additonal features
984syn keyword ngxDirectiveThirdParty enhanced_memcached_pass
985syn keyword ngxDirectiveThirdParty enhanced_memcached_hash_keys_with_md5
986syn keyword ngxDirectiveThirdParty enhanced_memcached_allow_put
987syn keyword ngxDirectiveThirdParty enhanced_memcached_allow_delete
988syn keyword ngxDirectiveThirdParty enhanced_memcached_stats
989syn keyword ngxDirectiveThirdParty enhanced_memcached_flush
990syn keyword ngxDirectiveThirdParty enhanced_memcached_flush_namespace
991syn keyword ngxDirectiveThirdParty enhanced_memcached_bind
992syn keyword ngxDirectiveThirdParty enhanced_memcached_connect_timeout
993syn keyword ngxDirectiveThirdParty enhanced_memcached_send_timeout
994syn keyword ngxDirectiveThirdParty enhanced_memcached_buffer_size
995syn keyword ngxDirectiveThirdParty enhanced_memcached_read_timeout
996
997" Events Module (DEPRECATED) <http://docs.dutov.org/nginx_modules_events_en.html>
998" Provides options for start/stop events.
999syn keyword ngxDirectiveDeprecated on_start
1000syn keyword ngxDirectiveDeprecated on_stop
1001
1002" EY Balancer Module <https://github.com/ezmobius/nginx-ey-balancer>
1003" Adds a request queue to Nginx that allows the limiting of concurrent requests passed to the upstream.
1004syn keyword ngxDirectiveThirdParty max_connections
1005syn keyword ngxDirectiveThirdParty max_connections_max_queue_length
1006syn keyword ngxDirectiveThirdParty max_connections_queue_timeout
1007
1008" Upstream Fair Balancer <https://www.nginx.com/resources/wiki/modules/fair_balancer/>
1009" Sends an incoming request to the least-busy backend server, rather than distributing requests round-robin.
1010syn keyword ngxDirectiveThirdParty fair
1011syn keyword ngxDirectiveThirdParty upstream_fair_shm_size
1012
1013" Fancy Indexes Module <https://github.com/aperezdc/ngx-fancyindex>
1014" Like the built-in autoindex module, but fancier.
1015syn keyword ngxDirectiveThirdParty fancyindex
1016syn keyword ngxDirectiveThirdParty fancyindex_default_sort
1017syn keyword ngxDirectiveThirdParty fancyindex_directories_first
1018syn keyword ngxDirectiveThirdParty fancyindex_css_href
1019syn keyword ngxDirectiveThirdParty fancyindex_exact_size
1020syn keyword ngxDirectiveThirdParty fancyindex_name_length
1021syn keyword ngxDirectiveThirdParty fancyindex_footer
1022syn keyword ngxDirectiveThirdParty fancyindex_header
1023syn keyword ngxDirectiveThirdParty fancyindex_show_path
1024syn keyword ngxDirectiveThirdParty fancyindex_ignore
1025syn keyword ngxDirectiveThirdParty fancyindex_hide_symlinks
1026syn keyword ngxDirectiveThirdParty fancyindex_localtime
1027syn keyword ngxDirectiveThirdParty fancyindex_time_format
1028
1029" Form Auth Module <https://github.com/veruu/ngx_form_auth>
1030" Provides authentication and authorization with credentials submitted via POST request
1031syn keyword ngxDirectiveThirdParty form_auth
1032syn keyword ngxDirectiveThirdParty form_auth_pam_service
1033syn keyword ngxDirectiveThirdParty form_auth_login
1034syn keyword ngxDirectiveThirdParty form_auth_password
1035syn keyword ngxDirectiveThirdParty form_auth_remote_user
1036
1037" Form Input Module <https://github.com/calio/form-input-nginx-module>
1038" Reads HTTP POST and PUT request body encoded in "application/x-www-form-urlencoded" and parses the arguments into nginx variables.
1039syn keyword ngxDirectiveThirdParty set_form_input
1040syn keyword ngxDirectiveThirdParty set_form_input_multi
1041
1042" GeoIP Module (DEPRECATED) <http://wiki.nginx.org/NginxHttp3rdPartyGeoIPModule>
1043" Country code lookups via the MaxMind GeoIP API.
1044syn keyword ngxDirectiveDeprecated geoip_country_file
1045
1046" GeoIP 2 Module <https://github.com/leev/ngx_http_geoip2_module>
1047" Creates variables with values from the maxmind geoip2 databases based on the client IP
1048syn keyword ngxDirectiveThirdParty geoip2
1049
1050" GridFS Module <https://github.com/mdirolf/nginx-gridfs>
1051" Nginx module for serving files from MongoDB's GridFS
1052syn keyword ngxDirectiveThirdParty gridfs
1053
1054" Headers More Module <https://github.com/openresty/headers-more-nginx-module>
1055" Set and clear input and output headers...more than "add"!
1056syn keyword ngxDirectiveThirdParty more_clear_headers
1057syn keyword ngxDirectiveThirdParty more_clear_input_headers
1058syn keyword ngxDirectiveThirdParty more_set_headers
1059syn keyword ngxDirectiveThirdParty more_set_input_headers
1060
1061" Health Checks Upstreams Module <https://www.nginx.com/resources/wiki/modules/healthcheck/>
1062" Polls backends and if they respond with HTTP 200 + an optional request body, they are marked good. Otherwise, they are marked bad.
1063syn keyword ngxDirectiveThirdParty healthcheck_enabled
1064syn keyword ngxDirectiveThirdParty healthcheck_delay
1065syn keyword ngxDirectiveThirdParty healthcheck_timeout
1066syn keyword ngxDirectiveThirdParty healthcheck_failcount
1067syn keyword ngxDirectiveThirdParty healthcheck_send
1068syn keyword ngxDirectiveThirdParty healthcheck_expected
1069syn keyword ngxDirectiveThirdParty healthcheck_buffer
1070syn keyword ngxDirectiveThirdParty healthcheck_status
1071
1072" HTTP Accounting Module <https://github.com/Lax/ngx_http_accounting_module>
1073" Add traffic stat function to nginx. Useful for http accounting based on nginx configuration logic
1074syn keyword ngxDirectiveThirdParty http_accounting
1075syn keyword ngxDirectiveThirdParty http_accounting_log
1076syn keyword ngxDirectiveThirdParty http_accounting_id
1077syn keyword ngxDirectiveThirdParty http_accounting_interval
1078syn keyword ngxDirectiveThirdParty http_accounting_perturb
1079
1080" Nginx Digest Authentication module <https://github.com/atomx/nginx-http-auth-digest>
1081" Digest Authentication for Nginx
1082syn keyword ngxDirectiveThirdParty auth_digest
1083syn keyword ngxDirectiveThirdParty auth_digest_user_file
1084syn keyword ngxDirectiveThirdParty auth_digest_timeout
1085syn keyword ngxDirectiveThirdParty auth_digest_expires
1086syn keyword ngxDirectiveThirdParty auth_digest_replays
1087syn keyword ngxDirectiveThirdParty auth_digest_shm_size
1088
1089" Auth PAM Module <https://github.com/sto/ngx_http_auth_pam_module>
1090" HTTP Basic Authentication using PAM.
1091syn keyword ngxDirectiveThirdParty auth_pam
1092syn keyword ngxDirectiveThirdParty auth_pam_service_name
1093
1094" HTTP Auth Request Module <http://nginx.org/en/docs/http/ngx_http_auth_request_module.html>
1095" Implements client authorization based on the result of a subrequest
1096" syn keyword ngxDirectiveThirdParty auth_request
1097" syn keyword ngxDirectiveThirdParty auth_request_set
1098
1099" HTTP Concatenation module for Nginx <https://github.com/alibaba/nginx-http-concat>
1100" A Nginx module for concatenating files in a given context: CSS and JS files usually
1101syn keyword ngxDirectiveThirdParty concat
1102syn keyword ngxDirectiveThirdParty concat_types
1103syn keyword ngxDirectiveThirdParty concat_unique
1104syn keyword ngxDirectiveThirdParty concat_max_files
1105syn keyword ngxDirectiveThirdParty concat_delimiter
1106syn keyword ngxDirectiveThirdParty concat_ignore_file_error
1107
1108" HTTP Dynamic Upstream Module <https://github.com/yzprofile/ngx_http_dyups_module>
1109" Update upstreams' config by restful interface
1110syn keyword ngxDirectiveThirdParty dyups_interface
1111syn keyword ngxDirectiveThirdParty dyups_read_msg_timeout
1112syn keyword ngxDirectiveThirdParty dyups_shm_zone_size
1113syn keyword ngxDirectiveThirdParty dyups_upstream_conf
1114syn keyword ngxDirectiveThirdParty dyups_trylock
1115
1116" HTTP Footer If Filter Module <https://github.com/flygoast/ngx_http_footer_if_filter>
1117" The ngx_http_footer_if_filter_module is used to add given content to the end of the response according to the condition specified.
1118syn keyword ngxDirectiveThirdParty footer_if
1119
1120" HTTP Footer Filter Module <https://github.com/alibaba/nginx-http-footer-filter>
1121" This module implements a body filter that adds a given string to the page footer.
1122syn keyword ngxDirectiveThirdParty footer
1123syn keyword ngxDirectiveThirdParty footer_types
1124
1125" HTTP Internal Redirect Module <https://github.com/flygoast/ngx_http_internal_redirect>
1126" Make an internal redirect to the uri specified according to the condition specified.
1127syn keyword ngxDirectiveThirdParty internal_redirect_if
1128syn keyword ngxDirectiveThirdParty internal_redirect_if_no_postponed
1129
1130" HTTP JavaScript Module <https://github.com/peter-leonov/ngx_http_js_module>
1131" Embedding SpiderMonkey. Nearly full port on Perl module.
1132syn keyword ngxDirectiveThirdParty js
1133syn keyword ngxDirectiveThirdParty js_filter
1134syn keyword ngxDirectiveThirdParty js_filter_types
1135syn keyword ngxDirectiveThirdParty js_load
1136syn keyword ngxDirectiveThirdParty js_maxmem
1137syn keyword ngxDirectiveThirdParty js_require
1138syn keyword ngxDirectiveThirdParty js_set
1139syn keyword ngxDirectiveThirdParty js_utf8
1140
1141" HTTP Push Module (DEPRECATED) <http://pushmodule.slact.net/>
1142" Turn Nginx into an adept long-polling HTTP Push (Comet) server.
1143syn keyword ngxDirectiveDeprecated push_buffer_size
1144syn keyword ngxDirectiveDeprecated push_listener
1145syn keyword ngxDirectiveDeprecated push_message_timeout
1146syn keyword ngxDirectiveDeprecated push_queue_messages
1147syn keyword ngxDirectiveDeprecated push_sender
1148
1149" HTTP Redis Module <https://www.nginx.com/resources/wiki/modules/redis/>
1150" Redis <http://code.google.com/p/redis/> support.
1151syn keyword ngxDirectiveThirdParty redis_bind
1152syn keyword ngxDirectiveThirdParty redis_buffer_size
1153syn keyword ngxDirectiveThirdParty redis_connect_timeout
1154syn keyword ngxDirectiveThirdParty redis_next_upstream
1155syn keyword ngxDirectiveThirdParty redis_pass
1156syn keyword ngxDirectiveThirdParty redis_read_timeout
1157syn keyword ngxDirectiveThirdParty redis_send_timeout
1158
1159" Iconv Module <https://github.com/calio/iconv-nginx-module>
1160" A character conversion nginx module using libiconv
1161syn keyword ngxDirectiveThirdParty set_iconv
1162syn keyword ngxDirectiveThirdParty iconv_buffer_size
1163syn keyword ngxDirectiveThirdParty iconv_filter
1164
1165" IP Blocker Module <https://github.com/tmthrgd/nginx-ip-blocker>
1166" An efficient shared memory IP blocking system for nginx.
1167syn keyword ngxDirectiveThirdParty ip_blocker
1168
1169" IP2Location Module <https://github.com/chrislim2888/ip2location-nginx>
1170" Allows user to lookup for geolocation information using IP2Location database
1171syn keyword ngxDirectiveThirdParty ip2location_database
1172
1173" JS Module <https://github.com/peter-leonov/ngx_http_js_module>
1174" Reflect the nginx functionality in JS
1175syn keyword ngxDirectiveThirdParty js
1176syn keyword ngxDirectiveThirdParty js_access
1177syn keyword ngxDirectiveThirdParty js_load
1178syn keyword ngxDirectiveThirdParty js_set
1179
1180" Limit Upload Rate Module <https://github.com/cfsego/limit_upload_rate>
1181" Limit client-upload rate when they are sending request bodies to you
1182syn keyword ngxDirectiveThirdParty limit_upload_rate
1183syn keyword ngxDirectiveThirdParty limit_upload_rate_after
1184
1185" Limit Upstream Module <https://github.com/cfsego/nginx-limit-upstream>
1186" Limit the number of connections to upstream for NGINX
1187syn keyword ngxDirectiveThirdParty limit_upstream_zone
1188syn keyword ngxDirectiveThirdParty limit_upstream_conn
1189syn keyword ngxDirectiveThirdParty limit_upstream_log_level
1190
1191" Log If Module <https://github.com/cfsego/ngx_log_if>
1192" Conditional accesslog for nginx
1193syn keyword ngxDirectiveThirdParty access_log_bypass_if
1194
1195" Log Request Speed (DEPRECATED) <http://wiki.nginx.org/NginxHttpLogRequestSpeed>
1196" Log the time it took to process each request.
1197syn keyword ngxDirectiveDeprecated log_request_speed_filter
1198syn keyword ngxDirectiveDeprecated log_request_speed_filter_timeout
1199
1200" Log ZeroMQ Module <https://github.com/alticelabs/nginx-log-zmq>
1201" ZeroMQ logger module for nginx
1202syn keyword ngxDirectiveThirdParty log_zmq_server
1203syn keyword ngxDirectiveThirdParty log_zmq_endpoint
1204syn keyword ngxDirectiveThirdParty log_zmq_format
1205syn keyword ngxDirectiveThirdParty log_zmq_off
1206
1207" Lower/UpperCase Module <https://github.com/replay/ngx_http_lower_upper_case>
1208" This module simply uppercases or lowercases a string and saves it into a new variable.
1209syn keyword ngxDirectiveThirdParty lower
1210syn keyword ngxDirectiveThirdParty upper
1211
1212" Lua Upstream Module <https://github.com/openresty/lua-upstream-nginx-module>
1213" Nginx C module to expose Lua API to ngx_lua for Nginx upstreams
1214
1215" Lua Module <https://github.com/openresty/lua-nginx-module>
1216" Embed the Power of Lua into NGINX HTTP servers
1217syn keyword ngxDirectiveThirdParty lua_use_default_type
1218syn keyword ngxDirectiveThirdParty lua_malloc_trim
1219syn keyword ngxDirectiveThirdParty lua_code_cache
1220syn keyword ngxDirectiveThirdParty lua_regex_cache_max_entries
1221syn keyword ngxDirectiveThirdParty lua_regex_match_limit
1222syn keyword ngxDirectiveThirdParty lua_package_path
1223syn keyword ngxDirectiveThirdParty lua_package_cpath
1224syn keyword ngxDirectiveThirdParty init_by_lua
1225syn keyword ngxDirectiveThirdParty init_by_lua_file
1226syn keyword ngxDirectiveThirdParty init_worker_by_lua
1227syn keyword ngxDirectiveThirdParty init_worker_by_lua_file
1228syn keyword ngxDirectiveThirdParty set_by_lua
1229syn keyword ngxDirectiveThirdParty set_by_lua_file
1230syn keyword ngxDirectiveThirdParty content_by_lua
1231syn keyword ngxDirectiveThirdParty content_by_lua_file
1232syn keyword ngxDirectiveThirdParty rewrite_by_lua
1233syn keyword ngxDirectiveThirdParty rewrite_by_lua_file
1234syn keyword ngxDirectiveThirdParty access_by_lua
1235syn keyword ngxDirectiveThirdParty access_by_lua_file
1236syn keyword ngxDirectiveThirdParty header_filter_by_lua
1237syn keyword ngxDirectiveThirdParty header_filter_by_lua_file
1238syn keyword ngxDirectiveThirdParty body_filter_by_lua
1239syn keyword ngxDirectiveThirdParty body_filter_by_lua_file
1240syn keyword ngxDirectiveThirdParty log_by_lua
1241syn keyword ngxDirectiveThirdParty log_by_lua_file
1242syn keyword ngxDirectiveThirdParty balancer_by_lua_file
1243syn keyword ngxDirectiveThirdParty lua_need_request_body
1244syn keyword ngxDirectiveThirdParty ssl_certificate_by_lua_file
1245syn keyword ngxDirectiveThirdParty ssl_session_fetch_by_lua_file
1246syn keyword ngxDirectiveThirdParty ssl_session_store_by_lua_file
1247syn keyword ngxDirectiveThirdParty lua_shared_dict
1248syn keyword ngxDirectiveThirdParty lua_socket_connect_timeout
1249syn keyword ngxDirectiveThirdParty lua_socket_send_timeout
1250syn keyword ngxDirectiveThirdParty lua_socket_send_lowat
1251syn keyword ngxDirectiveThirdParty lua_socket_read_timeout
1252syn keyword ngxDirectiveThirdParty lua_socket_buffer_size
1253syn keyword ngxDirectiveThirdParty lua_socket_pool_size
1254syn keyword ngxDirectiveThirdParty lua_socket_keepalive_timeout
1255syn keyword ngxDirectiveThirdParty lua_socket_log_errors
1256syn keyword ngxDirectiveThirdParty lua_ssl_ciphers
1257syn keyword ngxDirectiveThirdParty lua_ssl_crl
1258syn keyword ngxDirectiveThirdParty lua_ssl_protocols
1259syn keyword ngxDirectiveThirdParty lua_ssl_trusted_certificate
1260syn keyword ngxDirectiveThirdParty lua_ssl_verify_depth
1261syn keyword ngxDirectiveThirdParty lua_http10_buffering
1262syn keyword ngxDirectiveThirdParty rewrite_by_lua_no_postpone
1263syn keyword ngxDirectiveThirdParty access_by_lua_no_postpone
1264syn keyword ngxDirectiveThirdParty lua_transform_underscores_in_response_headers
1265syn keyword ngxDirectiveThirdParty lua_check_client_abort
1266syn keyword ngxDirectiveThirdParty lua_max_pending_timers
1267syn keyword ngxDirectiveThirdParty lua_max_running_timers
1268
1269" MD5 Filter Module <https://github.com/kainswor/nginx_md5_filter>
1270" A content filter for nginx, which returns the md5 hash of the content otherwise returned.
1271syn keyword ngxDirectiveThirdParty md5_filter
1272
1273" Memc Module <https://github.com/openresty/memc-nginx-module>
1274" An extended version of the standard memcached module that supports set, add, delete, and many more memcached commands.
1275syn keyword ngxDirectiveThirdParty memc_buffer_size
1276syn keyword ngxDirectiveThirdParty memc_cmds_allowed
1277syn keyword ngxDirectiveThirdParty memc_connect_timeout
1278syn keyword ngxDirectiveThirdParty memc_flags_to_last_modified
1279syn keyword ngxDirectiveThirdParty memc_next_upstream
1280syn keyword ngxDirectiveThirdParty memc_pass
1281syn keyword ngxDirectiveThirdParty memc_read_timeout
1282syn keyword ngxDirectiveThirdParty memc_send_timeout
1283syn keyword ngxDirectiveThirdParty memc_upstream_fail_timeout
1284syn keyword ngxDirectiveThirdParty memc_upstream_max_fails
1285
1286" Mod Security Module <https://github.com/SpiderLabs/ModSecurity>
1287" ModSecurity is an open source, cross platform web application firewall (WAF) engine
1288syn keyword ngxDirectiveThirdParty ModSecurityConfig
1289syn keyword ngxDirectiveThirdParty ModSecurityEnabled
1290syn keyword ngxDirectiveThirdParty pool_context
1291syn keyword ngxDirectiveThirdParty pool_context_hash_size
1292
1293" Mogilefs Module <http://www.grid.net.ru/nginx/mogilefs.en.html>
1294" MogileFS client for nginx web server.
1295syn keyword ngxDirectiveThirdParty mogilefs_pass
1296syn keyword ngxDirectiveThirdParty mogilefs_methods
1297syn keyword ngxDirectiveThirdParty mogilefs_domain
1298syn keyword ngxDirectiveThirdParty mogilefs_class
1299syn keyword ngxDirectiveThirdParty mogilefs_tracker
1300syn keyword ngxDirectiveThirdParty mogilefs_noverify
1301syn keyword ngxDirectiveThirdParty mogilefs_connect_timeout
1302syn keyword ngxDirectiveThirdParty mogilefs_send_timeout
1303syn keyword ngxDirectiveThirdParty mogilefs_read_timeout
1304
1305" Mongo Module <https://github.com/simpl/ngx_mongo>
1306" Upstream module that allows nginx to communicate directly with MongoDB database.
1307syn keyword ngxDirectiveThirdParty mongo_auth
1308syn keyword ngxDirectiveThirdParty mongo_pass
1309syn keyword ngxDirectiveThirdParty mongo_query
1310syn keyword ngxDirectiveThirdParty mongo_json
1311syn keyword ngxDirectiveThirdParty mongo_bind
1312syn keyword ngxDirectiveThirdParty mongo_connect_timeout
1313syn keyword ngxDirectiveThirdParty mongo_send_timeout
1314syn keyword ngxDirectiveThirdParty mongo_read_timeout
1315syn keyword ngxDirectiveThirdParty mongo_buffering
1316syn keyword ngxDirectiveThirdParty mongo_buffer_size
1317syn keyword ngxDirectiveThirdParty mongo_buffers
1318syn keyword ngxDirectiveThirdParty mongo_busy_buffers_size
1319syn keyword ngxDirectiveThirdParty mongo_next_upstream
1320
1321" MP4 Streaming Lite Module <https://www.nginx.com/resources/wiki/modules/mp4_streaming/>
1322" Will seek to a certain time within H.264/MP4 files when provided with a 'start' parameter in the URL.
1323" syn keyword ngxDirectiveThirdParty mp4
1324
1325" NAXSI Module <https://github.com/nbs-system/naxsi>
1326" NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX
1327syn keyword ngxDirectiveThirdParty DeniedUrl denied_url
1328syn keyword ngxDirectiveThirdParty LearningMode learning_mode
1329syn keyword ngxDirectiveThirdParty SecRulesEnabled rules_enabled
1330syn keyword ngxDirectiveThirdParty SecRulesDisabled rules_disabled
1331syn keyword ngxDirectiveThirdParty CheckRule check_rule
1332syn keyword ngxDirectiveThirdParty BasicRule basic_rule
1333syn keyword ngxDirectiveThirdParty MainRule main_rule
1334syn keyword ngxDirectiveThirdParty LibInjectionSql libinjection_sql
1335syn keyword ngxDirectiveThirdParty LibInjectionXss libinjection_xss
1336
1337" Nchan Module <https://nchan.slact.net/>
1338" Fast, horizontally scalable, multiprocess pub/sub queuing server and proxy for HTTP, long-polling, Websockets and EventSource (SSE)
1339syn keyword ngxDirectiveThirdParty nchan_channel_id
1340syn keyword ngxDirectiveThirdParty nchan_channel_id_split_delimiter
1341syn keyword ngxDirectiveThirdParty nchan_eventsource_event
1342syn keyword ngxDirectiveThirdParty nchan_longpoll_multipart_response
1343syn keyword ngxDirectiveThirdParty nchan_publisher
1344syn keyword ngxDirectiveThirdParty nchan_publisher_channel_id
1345syn keyword ngxDirectiveThirdParty nchan_publisher_upstream_request
1346syn keyword ngxDirectiveThirdParty nchan_pubsub
1347syn keyword ngxDirectiveThirdParty nchan_subscribe_request
1348syn keyword ngxDirectiveThirdParty nchan_subscriber
1349syn keyword ngxDirectiveThirdParty nchan_subscriber_channel_id
1350syn keyword ngxDirectiveThirdParty nchan_subscriber_compound_etag_message_id
1351syn keyword ngxDirectiveThirdParty nchan_subscriber_first_message
1352syn keyword ngxDirectiveThirdParty nchan_subscriber_http_raw_stream_separator
1353syn keyword ngxDirectiveThirdParty nchan_subscriber_last_message_id
1354syn keyword ngxDirectiveThirdParty nchan_subscriber_message_id_custom_etag_header
1355syn keyword ngxDirectiveThirdParty nchan_subscriber_timeout
1356syn keyword ngxDirectiveThirdParty nchan_unsubscribe_request
1357syn keyword ngxDirectiveThirdParty nchan_websocket_ping_interval
1358syn keyword ngxDirectiveThirdParty nchan_authorize_request
1359syn keyword ngxDirectiveThirdParty nchan_max_reserved_memory
1360syn keyword ngxDirectiveThirdParty nchan_message_buffer_length
1361syn keyword ngxDirectiveThirdParty nchan_message_timeout
1362syn keyword ngxDirectiveThirdParty nchan_redis_idle_channel_cache_timeout
1363syn keyword ngxDirectiveThirdParty nchan_redis_namespace
1364syn keyword ngxDirectiveThirdParty nchan_redis_pass
1365syn keyword ngxDirectiveThirdParty nchan_redis_ping_interval
1366syn keyword ngxDirectiveThirdParty nchan_redis_server
1367syn keyword ngxDirectiveThirdParty nchan_redis_storage_mode
1368syn keyword ngxDirectiveThirdParty nchan_redis_url
1369syn keyword ngxDirectiveThirdParty nchan_store_messages
1370syn keyword ngxDirectiveThirdParty nchan_use_redis
1371syn keyword ngxDirectiveThirdParty nchan_access_control_allow_origin
1372syn keyword ngxDirectiveThirdParty nchan_channel_group
1373syn keyword ngxDirectiveThirdParty nchan_channel_group_accounting
1374syn keyword ngxDirectiveThirdParty nchan_group_location
1375syn keyword ngxDirectiveThirdParty nchan_group_max_channels
1376syn keyword ngxDirectiveThirdParty nchan_group_max_messages
1377syn keyword ngxDirectiveThirdParty nchan_group_max_messages_disk
1378syn keyword ngxDirectiveThirdParty nchan_group_max_messages_memory
1379syn keyword ngxDirectiveThirdParty nchan_group_max_subscribers
1380syn keyword ngxDirectiveThirdParty nchan_subscribe_existing_channels_only
1381syn keyword ngxDirectiveThirdParty nchan_channel_event_string
1382syn keyword ngxDirectiveThirdParty nchan_channel_events_channel_id
1383syn keyword ngxDirectiveThirdParty nchan_stub_status
1384syn keyword ngxDirectiveThirdParty nchan_max_channel_id_length
1385syn keyword ngxDirectiveThirdParty nchan_max_channel_subscribers
1386syn keyword ngxDirectiveThirdParty nchan_channel_timeout
1387syn keyword ngxDirectiveThirdParty nchan_storage_engine
1388
1389" Nginx Notice Module <https://github.com/kr/nginx-notice>
1390" Serve static file to POST requests.
1391syn keyword ngxDirectiveThirdParty notice
1392syn keyword ngxDirectiveThirdParty notice_type
1393
1394" OCSP Proxy Module <https://github.com/kyprizel/nginx_ocsp_proxy-module>
1395" Nginx OCSP processing module designed for response caching
1396syn keyword ngxDirectiveThirdParty ocsp_proxy
1397syn keyword ngxDirectiveThirdParty ocsp_cache_timeout
1398
1399" Eval Module <https://github.com/openresty/nginx-eval-module>
1400" Module for nginx web server evaluates response of proxy or memcached module into variables.
1401syn keyword ngxDirectiveThirdParty eval
1402syn keyword ngxDirectiveThirdParty eval_escalate
1403syn keyword ngxDirectiveThirdParty eval_buffer_size
1404syn keyword ngxDirectiveThirdParty eval_override_content_type
1405syn keyword ngxDirectiveThirdParty eval_subrequest_in_memory
1406
1407" OpenSSL Version Module <https://github.com/apcera/nginx-openssl-version>
1408" Nginx OpenSSL version check at startup
1409syn keyword ngxDirectiveThirdParty openssl_version_minimum
1410syn keyword ngxDirectiveThirdParty openssl_builddate_minimum
1411
1412" Owner Match Module <https://www.nginx.com/resources/wiki/modules/owner_match/>
1413" Control access for specific owners and groups of files
1414syn keyword ngxDirectiveThirdParty omallow
1415syn keyword ngxDirectiveThirdParty omdeny
1416
1417" Accept Language Module <https://www.nginx.com/resources/wiki/modules/accept_language/>
1418" Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
1419syn keyword ngxDirectiveThirdParty pagespeed
1420
1421" PHP Memcache Standard Balancer Module <https://github.com/replay/ngx_http_php_memcache_standard_balancer>
1422" Loadbalancer that is compatible to the standard loadbalancer in the php-memcache module
1423syn keyword ngxDirectiveThirdParty hash_key
1424
1425" PHP Session Module <https://github.com/replay/ngx_http_php_session>
1426" Nginx module to parse php sessions
1427syn keyword ngxDirectiveThirdParty php_session_parse
1428syn keyword ngxDirectiveThirdParty php_session_strip_formatting
1429
1430" Phusion Passenger Module <https://www.phusionpassenger.com/library/config/nginx/>
1431" Passenger is an open source web application server.
1432syn keyword ngxDirectiveThirdParty passenger_root
1433syn keyword ngxDirectiveThirdParty passenger_enabled
1434syn keyword ngxDirectiveThirdParty passenger_base_uri
1435syn keyword ngxDirectiveThirdParty passenger_document_root
1436syn keyword ngxDirectiveThirdParty passenger_ruby
1437syn keyword ngxDirectiveThirdParty passenger_python
1438syn keyword ngxDirectiveThirdParty passenger_nodejs
1439syn keyword ngxDirectiveThirdParty passenger_meteor_app_settings
1440syn keyword ngxDirectiveThirdParty passenger_app_env
1441syn keyword ngxDirectiveThirdParty passenger_app_root
1442syn keyword ngxDirectiveThirdParty passenger_app_group_name
1443syn keyword ngxDirectiveThirdParty passenger_app_type
1444syn keyword ngxDirectiveThirdParty passenger_startup_file
1445syn keyword ngxDirectiveThirdParty passenger_restart_dir
1446syn keyword ngxDirectiveThirdParty passenger_spawn_method
1447syn keyword ngxDirectiveThirdParty passenger_env_var
1448syn keyword ngxDirectiveThirdParty passenger_load_shell_envvars
1449syn keyword ngxDirectiveThirdParty passenger_rolling_restarts
1450syn keyword ngxDirectiveThirdParty passenger_resist_deployment_errors
1451syn keyword ngxDirectiveThirdParty passenger_user_switching
1452syn keyword ngxDirectiveThirdParty passenger_user
1453syn keyword ngxDirectiveThirdParty passenger_group
1454syn keyword ngxDirectiveThirdParty passenger_default_user
1455syn keyword ngxDirectiveThirdParty passenger_default_group
1456syn keyword ngxDirectiveThirdParty passenger_show_version_in_header
1457syn keyword ngxDirectiveThirdParty passenger_friendly_error_pages
1458syn keyword ngxDirectiveThirdParty passenger_disable_security_update_check
1459syn keyword ngxDirectiveThirdParty passenger_security_update_check_proxy
1460syn keyword ngxDirectiveThirdParty passenger_max_pool_size
1461syn keyword ngxDirectiveThirdParty passenger_min_instances
1462syn keyword ngxDirectiveThirdParty passenger_max_instances
1463syn keyword ngxDirectiveThirdParty passenger_max_instances_per_app
1464syn keyword ngxDirectiveThirdParty passenger_pool_idle_time
1465syn keyword ngxDirectiveThirdParty passenger_max_preloader_idle_time
1466syn keyword ngxDirectiveThirdParty passenger_force_max_concurrent_requests_per_process
1467syn keyword ngxDirectiveThirdParty passenger_start_timeout
1468syn keyword ngxDirectiveThirdParty passenger_concurrency_model
1469syn keyword ngxDirectiveThirdParty passenger_thread_count
1470syn keyword ngxDirectiveThirdParty passenger_max_requests
1471syn keyword ngxDirectiveThirdParty passenger_max_request_time
1472syn keyword ngxDirectiveThirdParty passenger_memory_limit
1473syn keyword ngxDirectiveThirdParty passenger_stat_throttle_rate
1474syn keyword ngxDirectiveThirdParty passenger_core_file_descriptor_ulimit
1475syn keyword ngxDirectiveThirdParty passenger_app_file_descriptor_ulimit
1476syn keyword ngxDirectiveThirdParty passenger_pre_start
1477syn keyword ngxDirectiveThirdParty passenger_set_header
1478syn keyword ngxDirectiveThirdParty passenger_max_request_queue_size
1479syn keyword ngxDirectiveThirdParty passenger_request_queue_overflow_status_code
1480syn keyword ngxDirectiveThirdParty passenger_sticky_sessions
1481syn keyword ngxDirectiveThirdParty passenger_sticky_sessions_cookie_name
1482syn keyword ngxDirectiveThirdParty passenger_abort_websockets_on_process_shutdown
1483syn keyword ngxDirectiveThirdParty passenger_ignore_client_abort
1484syn keyword ngxDirectiveThirdParty passenger_intercept_errors
1485syn keyword ngxDirectiveThirdParty passenger_pass_header
1486syn keyword ngxDirectiveThirdParty passenger_ignore_headers
1487syn keyword ngxDirectiveThirdParty passenger_headers_hash_bucket_size
1488syn keyword ngxDirectiveThirdParty passenger_headers_hash_max_size
1489syn keyword ngxDirectiveThirdParty passenger_buffer_response
1490syn keyword ngxDirectiveThirdParty passenger_response_buffer_high_watermark
1491syn keyword ngxDirectiveThirdParty passenger_buffer_size, passenger_buffers, passenger_busy_buffers_size
1492syn keyword ngxDirectiveThirdParty passenger_socket_backlog
1493syn keyword ngxDirectiveThirdParty passenger_log_level
1494syn keyword ngxDirectiveThirdParty passenger_log_file
1495syn keyword ngxDirectiveThirdParty passenger_file_descriptor_log_file
1496syn keyword ngxDirectiveThirdParty passenger_debugger
1497syn keyword ngxDirectiveThirdParty passenger_instance_registry_dir
1498syn keyword ngxDirectiveThirdParty passenger_data_buffer_dir
1499syn keyword ngxDirectiveThirdParty passenger_fly_with
1500syn keyword ngxDirectiveThirdParty union_station_support
1501syn keyword ngxDirectiveThirdParty union_station_key
1502syn keyword ngxDirectiveThirdParty union_station_proxy_address
1503syn keyword ngxDirectiveThirdParty union_station_filter
1504syn keyword ngxDirectiveThirdParty union_station_gateway_address
1505syn keyword ngxDirectiveThirdParty union_station_gateway_port
1506syn keyword ngxDirectiveThirdParty union_station_gateway_cert
1507syn keyword ngxDirectiveDeprecated rails_spawn_method
1508syn keyword ngxDirectiveDeprecated passenger_debug_log_file
1509
1510" Postgres Module <http://labs.frickle.com/nginx_ngx_postgres/>
1511" Upstream module that allows nginx to communicate directly with PostgreSQL database.
1512syn keyword ngxDirectiveThirdParty postgres_server
1513syn keyword ngxDirectiveThirdParty postgres_keepalive
1514syn keyword ngxDirectiveThirdParty postgres_pass
1515syn keyword ngxDirectiveThirdParty postgres_query
1516syn keyword ngxDirectiveThirdParty postgres_rewrite
1517syn keyword ngxDirectiveThirdParty postgres_output
1518syn keyword ngxDirectiveThirdParty postgres_set
1519syn keyword ngxDirectiveThirdParty postgres_escape
1520syn keyword ngxDirectiveThirdParty postgres_connect_timeout
1521syn keyword ngxDirectiveThirdParty postgres_result_timeout
1522
1523" Pubcookie Module <https://www.vanko.me/book/page/pubcookie-module-nginx>
1524" Authorizes users using encrypted cookies
1525syn keyword ngxDirectiveThirdParty pubcookie_inactive_expire
1526syn keyword ngxDirectiveThirdParty pubcookie_hard_expire
1527syn keyword ngxDirectiveThirdParty pubcookie_app_id
1528syn keyword ngxDirectiveThirdParty pubcookie_dir_depth
1529syn keyword ngxDirectiveThirdParty pubcookie_catenate_app_ids
1530syn keyword ngxDirectiveThirdParty pubcookie_app_srv_id
1531syn keyword ngxDirectiveThirdParty pubcookie_login
1532syn keyword ngxDirectiveThirdParty pubcookie_login_method
1533syn keyword ngxDirectiveThirdParty pubcookie_post
1534syn keyword ngxDirectiveThirdParty pubcookie_domain
1535syn keyword ngxDirectiveThirdParty pubcookie_granting_cert_file
1536syn keyword ngxDirectiveThirdParty pubcookie_session_key_file
1537syn keyword ngxDirectiveThirdParty pubcookie_session_cert_file
1538syn keyword ngxDirectiveThirdParty pubcookie_crypt_key_file
1539syn keyword ngxDirectiveThirdParty pubcookie_end_session
1540syn keyword ngxDirectiveThirdParty pubcookie_encryption
1541syn keyword ngxDirectiveThirdParty pubcookie_session_reauth
1542syn keyword ngxDirectiveThirdParty pubcookie_auth_type_names
1543syn keyword ngxDirectiveThirdParty pubcookie_no_prompt
1544syn keyword ngxDirectiveThirdParty pubcookie_on_demand
1545syn keyword ngxDirectiveThirdParty pubcookie_addl_request
1546syn keyword ngxDirectiveThirdParty pubcookie_no_obscure_cookies
1547syn keyword ngxDirectiveThirdParty pubcookie_no_clean_creds
1548syn keyword ngxDirectiveThirdParty pubcookie_egd_device
1549syn keyword ngxDirectiveThirdParty pubcookie_no_blank
1550syn keyword ngxDirectiveThirdParty pubcookie_super_debug
1551syn keyword ngxDirectiveThirdParty pubcookie_set_remote_user
1552
1553" Push Stream Module <https://github.com/wandenberg/nginx-push-stream-module>
1554" A pure stream http push technology for your Nginx setup
1555syn keyword ngxDirectiveThirdParty push_stream_channels_statistics
1556syn keyword ngxDirectiveThirdParty push_stream_publisher
1557syn keyword ngxDirectiveThirdParty push_stream_subscriber
1558syn keyword ngxDirectiveThirdParty push_stream_shared_memory_size
1559syn keyword ngxDirectiveThirdParty push_stream_channel_deleted_message_text
1560syn keyword ngxDirectiveThirdParty push_stream_channel_inactivity_time
1561syn keyword ngxDirectiveThirdParty push_stream_ping_message_text
1562syn keyword ngxDirectiveThirdParty push_stream_timeout_with_body
1563syn keyword ngxDirectiveThirdParty push_stream_message_ttl
1564syn keyword ngxDirectiveThirdParty push_stream_max_subscribers_per_channel
1565syn keyword ngxDirectiveThirdParty push_stream_max_messages_stored_per_channel
1566syn keyword ngxDirectiveThirdParty push_stream_max_channel_id_length
1567syn keyword ngxDirectiveThirdParty push_stream_max_number_of_channels
1568syn keyword ngxDirectiveThirdParty push_stream_max_number_of_wildcard_channels
1569syn keyword ngxDirectiveThirdParty push_stream_wildcard_channel_prefix
1570syn keyword ngxDirectiveThirdParty push_stream_events_channel_id
1571syn keyword ngxDirectiveThirdParty push_stream_channels_path
1572syn keyword ngxDirectiveThirdParty push_stream_store_messages
1573syn keyword ngxDirectiveThirdParty push_stream_channel_info_on_publish
1574syn keyword ngxDirectiveThirdParty push_stream_authorized_channels_only
1575syn keyword ngxDirectiveThirdParty push_stream_header_template_file
1576syn keyword ngxDirectiveThirdParty push_stream_header_template
1577syn keyword ngxDirectiveThirdParty push_stream_message_template
1578syn keyword ngxDirectiveThirdParty push_stream_footer_template
1579syn keyword ngxDirectiveThirdParty push_stream_wildcard_channel_max_qtd
1580syn keyword ngxDirectiveThirdParty push_stream_ping_message_interval
1581syn keyword ngxDirectiveThirdParty push_stream_subscriber_connection_ttl
1582syn keyword ngxDirectiveThirdParty push_stream_longpolling_connection_ttl
1583syn keyword ngxDirectiveThirdParty push_stream_websocket_allow_publish
1584syn keyword ngxDirectiveThirdParty push_stream_last_received_message_time
1585syn keyword ngxDirectiveThirdParty push_stream_last_received_message_tag
1586syn keyword ngxDirectiveThirdParty push_stream_last_event_id
1587syn keyword ngxDirectiveThirdParty push_stream_user_agent
1588syn keyword ngxDirectiveThirdParty push_stream_padding_by_user_agent
1589syn keyword ngxDirectiveThirdParty push_stream_allowed_origins
1590syn keyword ngxDirectiveThirdParty push_stream_allow_connections_to_events_channel
1591
1592" rDNS Module <https://github.com/flant/nginx-http-rdns>
1593" Make a reverse DNS (rDNS) lookup for incoming connection and provides simple access control of incoming hostname by allow/deny rules
1594syn keyword ngxDirectiveThirdParty rdns
1595syn keyword ngxDirectiveThirdParty rdns_allow
1596syn keyword ngxDirectiveThirdParty rdns_deny
1597
1598" RDS CSV Module <https://github.com/openresty/rds-csv-nginx-module>
1599" Nginx output filter module to convert Resty-DBD-Streams (RDS) to Comma-Separated Values (CSV)
1600syn keyword ngxDirectiveThirdParty rds_csv
1601syn keyword ngxDirectiveThirdParty rds_csv_row_terminator
1602syn keyword ngxDirectiveThirdParty rds_csv_field_separator
1603syn keyword ngxDirectiveThirdParty rds_csv_field_name_header
1604syn keyword ngxDirectiveThirdParty rds_csv_content_type
1605syn keyword ngxDirectiveThirdParty rds_csv_buffer_size
1606
1607" RDS JSON Module <https://github.com/openresty/rds-json-nginx-module>
1608" An output filter that formats Resty DBD Streams generated by ngx_drizzle and others to JSON
1609syn keyword ngxDirectiveThirdParty rds_json
1610syn keyword ngxDirectiveThirdParty rds_json_buffer_size
1611syn keyword ngxDirectiveThirdParty rds_json_format
1612syn keyword ngxDirectiveThirdParty rds_json_root
1613syn keyword ngxDirectiveThirdParty rds_json_success_property
1614syn keyword ngxDirectiveThirdParty rds_json_user_property
1615syn keyword ngxDirectiveThirdParty rds_json_errcode_key
1616syn keyword ngxDirectiveThirdParty rds_json_errstr_key
1617syn keyword ngxDirectiveThirdParty rds_json_ret
1618syn keyword ngxDirectiveThirdParty rds_json_content_type
1619
1620" Redis Module <https://www.nginx.com/resources/wiki/modules/redis/>
1621" Use this module to perform simple caching
1622syn keyword ngxDirectiveThirdParty redis_pass
1623syn keyword ngxDirectiveThirdParty redis_bind
1624syn keyword ngxDirectiveThirdParty redis_connect_timeout
1625syn keyword ngxDirectiveThirdParty redis_read_timeout
1626syn keyword ngxDirectiveThirdParty redis_send_timeout
1627syn keyword ngxDirectiveThirdParty redis_buffer_size
1628syn keyword ngxDirectiveThirdParty redis_next_upstream
1629syn keyword ngxDirectiveThirdParty redis_gzip_flag
1630
1631" Redis 2 Module <https://github.com/openresty/redis2-nginx-module>
1632" Nginx upstream module for the Redis 2.0 protocol
1633syn keyword ngxDirectiveThirdParty redis2_query
1634syn keyword ngxDirectiveThirdParty redis2_raw_query
1635syn keyword ngxDirectiveThirdParty redis2_raw_queries
1636syn keyword ngxDirectiveThirdParty redis2_literal_raw_query
1637syn keyword ngxDirectiveThirdParty redis2_pass
1638syn keyword ngxDirectiveThirdParty redis2_connect_timeout
1639syn keyword ngxDirectiveThirdParty redis2_send_timeout
1640syn keyword ngxDirectiveThirdParty redis2_read_timeout
1641syn keyword ngxDirectiveThirdParty redis2_buffer_size
1642syn keyword ngxDirectiveThirdParty redis2_next_upstream
1643
1644" Replace Filter Module <https://github.com/openresty/replace-filter-nginx-module>
1645" Streaming regular expression replacement in response bodies
1646syn keyword ngxDirectiveThirdParty replace_filter
1647syn keyword ngxDirectiveThirdParty replace_filter_types
1648syn keyword ngxDirectiveThirdParty replace_filter_max_buffered_size
1649syn keyword ngxDirectiveThirdParty replace_filter_last_modified
1650syn keyword ngxDirectiveThirdParty replace_filter_skip
1651
1652" Roboo Module <https://github.com/yuri-gushin/Roboo>
1653" HTTP Robot Mitigator
1654
1655" RRD Graph Module <https://www.nginx.com/resources/wiki/modules/rrd_graph/>
1656" This module provides an HTTP interface to RRDtool's graphing facilities.
1657syn keyword ngxDirectiveThirdParty rrd_graph
1658syn keyword ngxDirectiveThirdParty rrd_graph_root
1659
1660" RTMP Module <https://github.com/arut/nginx-rtmp-module>
1661" NGINX-based Media Streaming Server
1662syn keyword ngxDirectiveThirdParty rtmp
1663" syn keyword ngxDirectiveThirdParty server
1664" syn keyword ngxDirectiveThirdParty listen
1665syn keyword ngxDirectiveThirdParty application
1666" syn keyword ngxDirectiveThirdParty timeout
1667syn keyword ngxDirectiveThirdParty ping
1668syn keyword ngxDirectiveThirdParty ping_timeout
1669syn keyword ngxDirectiveThirdParty max_streams
1670syn keyword ngxDirectiveThirdParty ack_window
1671syn keyword ngxDirectiveThirdParty chunk_size
1672syn keyword ngxDirectiveThirdParty max_queue
1673syn keyword ngxDirectiveThirdParty max_message
1674syn keyword ngxDirectiveThirdParty out_queue
1675syn keyword ngxDirectiveThirdParty out_cork
1676" syn keyword ngxDirectiveThirdParty allow
1677" syn keyword ngxDirectiveThirdParty deny
1678syn keyword ngxDirectiveThirdParty exec_push
1679syn keyword ngxDirectiveThirdParty exec_pull
1680syn keyword ngxDirectiveThirdParty exec
1681syn keyword ngxDirectiveThirdParty exec_options
1682syn keyword ngxDirectiveThirdParty exec_static
1683syn keyword ngxDirectiveThirdParty exec_kill_signal
1684syn keyword ngxDirectiveThirdParty respawn
1685syn keyword ngxDirectiveThirdParty respawn_timeout
1686syn keyword ngxDirectiveThirdParty exec_publish
1687syn keyword ngxDirectiveThirdParty exec_play
1688syn keyword ngxDirectiveThirdParty exec_play_done
1689syn keyword ngxDirectiveThirdParty exec_publish_done
1690syn keyword ngxDirectiveThirdParty exec_record_done
1691syn keyword ngxDirectiveThirdParty live
1692syn keyword ngxDirectiveThirdParty meta
1693syn keyword ngxDirectiveThirdParty interleave
1694syn keyword ngxDirectiveThirdParty wait_key
1695syn keyword ngxDirectiveThirdParty wait_video
1696syn keyword ngxDirectiveThirdParty publish_notify
1697syn keyword ngxDirectiveThirdParty drop_idle_publisher
1698syn keyword ngxDirectiveThirdParty sync
1699syn keyword ngxDirectiveThirdParty play_restart
1700syn keyword ngxDirectiveThirdParty idle_streams
1701syn keyword ngxDirectiveThirdParty record
1702syn keyword ngxDirectiveThirdParty record_path
1703syn keyword ngxDirectiveThirdParty record_suffix
1704syn keyword ngxDirectiveThirdParty record_unique
1705syn keyword ngxDirectiveThirdParty record_append
1706syn keyword ngxDirectiveThirdParty record_lock
1707syn keyword ngxDirectiveThirdParty record_max_size
1708syn keyword ngxDirectiveThirdParty record_max_frames
1709syn keyword ngxDirectiveThirdParty record_interval
1710syn keyword ngxDirectiveThirdParty recorder
1711syn keyword ngxDirectiveThirdParty record_notify
1712syn keyword ngxDirectiveThirdParty play
1713syn keyword ngxDirectiveThirdParty play_temp_path
1714syn keyword ngxDirectiveThirdParty play_local_path
1715syn keyword ngxDirectiveThirdParty pull
1716syn keyword ngxDirectiveThirdParty push
1717syn keyword ngxDirectiveThirdParty push_reconnect
1718syn keyword ngxDirectiveThirdParty session_relay
1719syn keyword ngxDirectiveThirdParty on_connect
1720syn keyword ngxDirectiveThirdParty on_play
1721syn keyword ngxDirectiveThirdParty on_publish
1722syn keyword ngxDirectiveThirdParty on_done
1723syn keyword ngxDirectiveThirdParty on_play_done
1724syn keyword ngxDirectiveThirdParty on_publish_done
1725syn keyword ngxDirectiveThirdParty on_record_done
1726syn keyword ngxDirectiveThirdParty on_update
1727syn keyword ngxDirectiveThirdParty notify_update_timeout
1728syn keyword ngxDirectiveThirdParty notify_update_strict
1729syn keyword ngxDirectiveThirdParty notify_relay_redirect
1730syn keyword ngxDirectiveThirdParty notify_method
1731syn keyword ngxDirectiveThirdParty hls
1732syn keyword ngxDirectiveThirdParty hls_path
1733syn keyword ngxDirectiveThirdParty hls_fragment
1734syn keyword ngxDirectiveThirdParty hls_playlist_length
1735syn keyword ngxDirectiveThirdParty hls_sync
1736syn keyword ngxDirectiveThirdParty hls_continuous
1737syn keyword ngxDirectiveThirdParty hls_nested
1738syn keyword ngxDirectiveThirdParty hls_base_url
1739syn keyword ngxDirectiveThirdParty hls_cleanup
1740syn keyword ngxDirectiveThirdParty hls_fragment_naming
1741syn keyword ngxDirectiveThirdParty hls_fragment_slicing
1742syn keyword ngxDirectiveThirdParty hls_variant
1743syn keyword ngxDirectiveThirdParty hls_type
1744syn keyword ngxDirectiveThirdParty hls_keys
1745syn keyword ngxDirectiveThirdParty hls_key_path
1746syn keyword ngxDirectiveThirdParty hls_key_url
1747syn keyword ngxDirectiveThirdParty hls_fragments_per_key
1748syn keyword ngxDirectiveThirdParty dash
1749syn keyword ngxDirectiveThirdParty dash_path
1750syn keyword ngxDirectiveThirdParty dash_fragment
1751syn keyword ngxDirectiveThirdParty dash_playlist_length
1752syn keyword ngxDirectiveThirdParty dash_nested
1753syn keyword ngxDirectiveThirdParty dash_cleanup
1754" syn keyword ngxDirectiveThirdParty access_log
1755" syn keyword ngxDirectiveThirdParty log_format
1756syn keyword ngxDirectiveThirdParty max_connections
1757syn keyword ngxDirectiveThirdParty rtmp_stat
1758syn keyword ngxDirectiveThirdParty rtmp_stat_stylesheet
1759syn keyword ngxDirectiveThirdParty rtmp_auto_push
1760syn keyword ngxDirectiveThirdParty rtmp_auto_push_reconnect
1761syn keyword ngxDirectiveThirdParty rtmp_socket_dir
1762syn keyword ngxDirectiveThirdParty rtmp_control
1763
1764" RTMPT Module <https://github.com/kwojtek/nginx-rtmpt-proxy-module>
1765" Module for nginx to proxy rtmp using http protocol
1766syn keyword ngxDirectiveThirdParty rtmpt_proxy_target
1767syn keyword ngxDirectiveThirdParty rtmpt_proxy_rtmp_timeout
1768syn keyword ngxDirectiveThirdParty rtmpt_proxy_http_timeout
1769syn keyword ngxDirectiveThirdParty rtmpt_proxy
1770syn keyword ngxDirectiveThirdParty rtmpt_proxy_stat
1771syn keyword ngxDirectiveThirdParty rtmpt_proxy_stylesheet
1772
1773" Syntactically Awesome Module <https://github.com/mneudert/sass-nginx-module>
1774" Providing on-the-fly compiling of Sass files as an NGINX module.
1775syn keyword ngxDirectiveThirdParty sass_compile
1776syn keyword ngxDirectiveThirdParty sass_error_log
1777syn keyword ngxDirectiveThirdParty sass_include_path
1778syn keyword ngxDirectiveThirdParty sass_indent
1779syn keyword ngxDirectiveThirdParty sass_is_indented_syntax
1780syn keyword ngxDirectiveThirdParty sass_linefeed
1781syn keyword ngxDirectiveThirdParty sass_precision
1782syn keyword ngxDirectiveThirdParty sass_output_style
1783syn keyword ngxDirectiveThirdParty sass_source_comments
1784syn keyword ngxDirectiveThirdParty sass_source_map_embed
1785
1786" Secure Download Module <https://www.nginx.com/resources/wiki/modules/secure_download/>
1787" Enables you to create links which are only valid until a certain datetime is reached
1788syn keyword ngxDirectiveThirdParty secure_download
1789syn keyword ngxDirectiveThirdParty secure_download_secret
1790syn keyword ngxDirectiveThirdParty secure_download_path_mode
1791
1792" Selective Cache Purge Module <https://github.com/wandenberg/nginx-selective-cache-purge-module>
1793" A module to purge cache by GLOB patterns. The supported patterns are the same as supported by Redis.
1794syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_unix_socket
1795syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_host
1796syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_port
1797syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_database
1798syn keyword ngxDirectiveThirdParty selective_cache_purge_query
1799
1800" Set cconv Module <https://github.com/liseen/set-cconv-nginx-module>
1801" Cconv rewrite set commands
1802syn keyword ngxDirectiveThirdParty set_cconv_to_simp
1803syn keyword ngxDirectiveThirdParty set_cconv_to_trad
1804syn keyword ngxDirectiveThirdParty set_pinyin_to_normal
1805
1806" Set Hash Module <https://github.com/simpl/ngx_http_set_hash>
1807" Nginx module that allows the setting of variables to the value of a variety of hashes
1808syn keyword ngxDirectiveThirdParty set_md5
1809syn keyword ngxDirectiveThirdParty set_md5_upper
1810syn keyword ngxDirectiveThirdParty set_murmur2
1811syn keyword ngxDirectiveThirdParty set_murmur2_upper
1812syn keyword ngxDirectiveThirdParty set_sha1
1813syn keyword ngxDirectiveThirdParty set_sha1_upper
1814
1815" Set Lang Module <https://github.com/simpl/ngx_http_set_lang>
1816" Provides a variety of ways for setting a variable denoting the langauge that content should be returned in.
1817syn keyword ngxDirectiveThirdParty set_lang
1818syn keyword ngxDirectiveThirdParty set_lang_method
1819syn keyword ngxDirectiveThirdParty lang_cookie
1820syn keyword ngxDirectiveThirdParty lang_get_var
1821syn keyword ngxDirectiveThirdParty lang_list
1822syn keyword ngxDirectiveThirdParty lang_post_var
1823syn keyword ngxDirectiveThirdParty lang_host
1824syn keyword ngxDirectiveThirdParty lang_referer
1825
1826" Set Misc Module <https://github.com/openresty/set-misc-nginx-module>
1827" Various set_xxx directives added to nginx's rewrite module
1828syn keyword ngxDirectiveThirdParty set_if_empty
1829syn keyword ngxDirectiveThirdParty set_quote_sql_str
1830syn keyword ngxDirectiveThirdParty set_quote_pgsql_str
1831syn keyword ngxDirectiveThirdParty set_quote_json_str
1832syn keyword ngxDirectiveThirdParty set_unescape_uri
1833syn keyword ngxDirectiveThirdParty set_escape_uri
1834syn keyword ngxDirectiveThirdParty set_hashed_upstream
1835syn keyword ngxDirectiveThirdParty set_encode_base32
1836syn keyword ngxDirectiveThirdParty set_base32_padding
1837syn keyword ngxDirectiveThirdParty set_misc_base32_padding
1838syn keyword ngxDirectiveThirdParty set_base32_alphabet
1839syn keyword ngxDirectiveThirdParty set_decode_base32
1840syn keyword ngxDirectiveThirdParty set_encode_base64
1841syn keyword ngxDirectiveThirdParty set_decode_base64
1842syn keyword ngxDirectiveThirdParty set_encode_hex
1843syn keyword ngxDirectiveThirdParty set_decode_hex
1844syn keyword ngxDirectiveThirdParty set_sha1
1845syn keyword ngxDirectiveThirdParty set_md5
1846syn keyword ngxDirectiveThirdParty set_hmac_sha1
1847syn keyword ngxDirectiveThirdParty set_random
1848syn keyword ngxDirectiveThirdParty set_secure_random_alphanum
1849syn keyword ngxDirectiveThirdParty set_secure_random_lcalpha
1850syn keyword ngxDirectiveThirdParty set_rotate
1851syn keyword ngxDirectiveThirdParty set_local_today
1852syn keyword ngxDirectiveThirdParty set_formatted_gmt_time
1853syn keyword ngxDirectiveThirdParty set_formatted_local_time
1854
1855" SFlow Module <https://github.com/sflow/nginx-sflow-module>
1856" A binary, random-sampling nginx module designed for: lightweight, centralized, continuous, real-time monitoring of very large and very busy web farms.
1857syn keyword ngxDirectiveThirdParty sflow
1858
1859" Shibboleth Module <https://github.com/nginx-shib/nginx-http-shibboleth>
1860" Shibboleth auth request module for nginx
1861syn keyword ngxDirectiveThirdParty shib_request
1862syn keyword ngxDirectiveThirdParty shib_request_set
1863syn keyword ngxDirectiveThirdParty shib_request_use_headers
1864
1865" Slice Module <https://github.com/alibaba/nginx-http-slice>
1866" Nginx module for serving a file in slices (reverse byte-range)
1867" syn keyword ngxDirectiveThirdParty slice
1868syn keyword ngxDirectiveThirdParty slice_arg_begin
1869syn keyword ngxDirectiveThirdParty slice_arg_end
1870syn keyword ngxDirectiveThirdParty slice_header
1871syn keyword ngxDirectiveThirdParty slice_footer
1872syn keyword ngxDirectiveThirdParty slice_header_first
1873syn keyword ngxDirectiveThirdParty slice_footer_last
1874
1875" SlowFS Cache Module <https://github.com/FRiCKLE/ngx_slowfs_cache/>
1876" Module adding ability to cache static files.
1877syn keyword ngxDirectiveThirdParty slowfs_big_file_size
1878syn keyword ngxDirectiveThirdParty slowfs_cache
1879syn keyword ngxDirectiveThirdParty slowfs_cache_key
1880syn keyword ngxDirectiveThirdParty slowfs_cache_min_uses
1881syn keyword ngxDirectiveThirdParty slowfs_cache_path
1882syn keyword ngxDirectiveThirdParty slowfs_cache_purge
1883syn keyword ngxDirectiveThirdParty slowfs_cache_valid
1884syn keyword ngxDirectiveThirdParty slowfs_temp_path
1885
1886" Small Light Module <https://github.com/cubicdaiya/ngx_small_light>
1887" Dynamic Image Transformation Module For nginx.
1888syn keyword ngxDirectiveThirdParty small_light
1889syn keyword ngxDirectiveThirdParty small_light_getparam_mode
1890syn keyword ngxDirectiveThirdParty small_light_material_dir
1891syn keyword ngxDirectiveThirdParty small_light_pattern_define
1892syn keyword ngxDirectiveThirdParty small_light_radius_max
1893syn keyword ngxDirectiveThirdParty small_light_sigma_max
1894syn keyword ngxDirectiveThirdParty small_light_imlib2_temp_dir
1895syn keyword ngxDirectiveThirdParty small_light_buffer
1896
1897" Sorted Querystring Filter Module <https://github.com/wandenberg/nginx-sorted-querystring-module>
1898" Nginx module to expose querystring parameters sorted in a variable to be used on cache_key as example
1899syn keyword ngxDirectiveThirdParty sorted_querystring_filter_parameter
1900
1901" Sphinx2 Module <https://github.com/reeteshranjan/sphinx2-nginx-module>
1902" Nginx upstream module for Sphinx 2.x
1903syn keyword ngxDirectiveThirdParty sphinx2_pass
1904syn keyword ngxDirectiveThirdParty sphinx2_bind
1905syn keyword ngxDirectiveThirdParty sphinx2_connect_timeout
1906syn keyword ngxDirectiveThirdParty sphinx2_send_timeout
1907syn keyword ngxDirectiveThirdParty sphinx2_buffer_size
1908syn keyword ngxDirectiveThirdParty sphinx2_read_timeout
1909syn keyword ngxDirectiveThirdParty sphinx2_next_upstream
1910
1911" HTTP SPNEGO auth Module <https://github.com/stnoonan/spnego-http-auth-nginx-module>
1912" This module implements adds SPNEGO support to nginx(http://nginx.org). It currently supports only Kerberos authentication via GSSAPI
1913syn keyword ngxDirectiveThirdParty auth_gss
1914syn keyword ngxDirectiveThirdParty auth_gss_keytab
1915syn keyword ngxDirectiveThirdParty auth_gss_realm
1916syn keyword ngxDirectiveThirdParty auth_gss_service_name
1917syn keyword ngxDirectiveThirdParty auth_gss_authorized_principal
1918syn keyword ngxDirectiveThirdParty auth_gss_allow_basic_fallback
1919
1920" SR Cache Module <https://github.com/openresty/srcache-nginx-module>
1921" Transparent subrequest-based caching layout for arbitrary nginx locations
1922syn keyword ngxDirectiveThirdParty srcache_fetch
1923syn keyword ngxDirectiveThirdParty srcache_fetch_skip
1924syn keyword ngxDirectiveThirdParty srcache_store
1925syn keyword ngxDirectiveThirdParty srcache_store_max_size
1926syn keyword ngxDirectiveThirdParty srcache_store_skip
1927syn keyword ngxDirectiveThirdParty srcache_store_statuses
1928syn keyword ngxDirectiveThirdParty srcache_store_ranges
1929syn keyword ngxDirectiveThirdParty srcache_header_buffer_size
1930syn keyword ngxDirectiveThirdParty srcache_store_hide_header
1931syn keyword ngxDirectiveThirdParty srcache_store_pass_header
1932syn keyword ngxDirectiveThirdParty srcache_methods
1933syn keyword ngxDirectiveThirdParty srcache_ignore_content_encoding
1934syn keyword ngxDirectiveThirdParty srcache_request_cache_control
1935syn keyword ngxDirectiveThirdParty srcache_response_cache_control
1936syn keyword ngxDirectiveThirdParty srcache_store_no_store
1937syn keyword ngxDirectiveThirdParty srcache_store_no_cache
1938syn keyword ngxDirectiveThirdParty srcache_store_private
1939syn keyword ngxDirectiveThirdParty srcache_default_expire
1940syn keyword ngxDirectiveThirdParty srcache_max_expire
1941
1942" SSSD Info Module <https://github.com/veruu/ngx_sssd_info>
1943" Retrives additional attributes from SSSD for current authentizated user
1944syn keyword ngxDirectiveThirdParty sssd_info
1945syn keyword ngxDirectiveThirdParty sssd_info_output_to
1946syn keyword ngxDirectiveThirdParty sssd_info_groups
1947syn keyword ngxDirectiveThirdParty sssd_info_group
1948syn keyword ngxDirectiveThirdParty sssd_info_group_separator
1949syn keyword ngxDirectiveThirdParty sssd_info_attributes
1950syn keyword ngxDirectiveThirdParty sssd_info_attribute
1951syn keyword ngxDirectiveThirdParty sssd_info_attribute_separator
1952
1953" Static Etags Module <https://github.com/mikewest/nginx-static-etags>
1954" Generate etags for static content
1955syn keyword ngxDirectiveThirdParty FileETag
1956
1957" Statsd Module <https://github.com/zebrafishlabs/nginx-statsd>
1958" An nginx module for sending statistics to statsd
1959syn keyword ngxDirectiveThirdParty statsd_server
1960syn keyword ngxDirectiveThirdParty statsd_sample_rate
1961syn keyword ngxDirectiveThirdParty statsd_count
1962syn keyword ngxDirectiveThirdParty statsd_timing
1963
1964" Sticky Module <https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng>
1965" Add a sticky cookie to be always forwarded to the same upstream server
1966" syn keyword ngxDirectiveThirdParty sticky
1967
1968" Stream Echo Module <https://github.com/openresty/stream-echo-nginx-module>
1969" TCP/stream echo module for NGINX (a port of ngx_http_echo_module)
1970syn keyword ngxDirectiveThirdParty echo
1971syn keyword ngxDirectiveThirdParty echo_duplicate
1972syn keyword ngxDirectiveThirdParty echo_flush_wait
1973syn keyword ngxDirectiveThirdParty echo_sleep
1974syn keyword ngxDirectiveThirdParty echo_send_timeout
1975syn keyword ngxDirectiveThirdParty echo_read_bytes
1976syn keyword ngxDirectiveThirdParty echo_read_line
1977syn keyword ngxDirectiveThirdParty echo_request_data
1978syn keyword ngxDirectiveThirdParty echo_discard_request
1979syn keyword ngxDirectiveThirdParty echo_read_buffer_size
1980syn keyword ngxDirectiveThirdParty echo_read_timeout
1981syn keyword ngxDirectiveThirdParty echo_client_error_log_level
1982syn keyword ngxDirectiveThirdParty echo_lingering_close
1983syn keyword ngxDirectiveThirdParty echo_lingering_time
1984syn keyword ngxDirectiveThirdParty echo_lingering_timeout
1985
1986" Stream Lua Module <https://github.com/openresty/stream-lua-nginx-module>
1987" Embed the power of Lua into Nginx stream/TCP Servers.
1988syn keyword ngxDirectiveThirdParty lua_resolver
1989syn keyword ngxDirectiveThirdParty lua_resolver_timeout
1990syn keyword ngxDirectiveThirdParty lua_lingering_close
1991syn keyword ngxDirectiveThirdParty lua_lingering_time
1992syn keyword ngxDirectiveThirdParty lua_lingering_timeout
1993
1994" Stream Upsync Module <https://github.com/xiaokai-wang/nginx-stream-upsync-module>
1995" Sync upstreams from consul or others, dynamiclly modify backend-servers attribute(weight, max_fails,...), needn't reload nginx.
1996syn keyword ngxDirectiveThirdParty upsync
1997syn keyword ngxDirectiveThirdParty upsync_dump_path
1998syn keyword ngxDirectiveThirdParty upsync_lb
1999syn keyword ngxDirectiveThirdParty upsync_show
2000
2001" Strip Module <https://github.com/evanmiller/mod_strip>
2002" Whitespace remover.
2003syn keyword ngxDirectiveThirdParty strip
2004
2005" Subrange Module <https://github.com/Qihoo360/ngx_http_subrange_module>
2006" Split one big HTTP/Range request to multiple subrange requesets
2007syn keyword ngxDirectiveThirdParty subrange
2008
2009" Substitutions Module <https://www.nginx.com/resources/wiki/modules/substitutions/>
2010" A filter module which can do both regular expression and fixed string substitutions on response bodies.
2011syn keyword ngxDirectiveThirdParty subs_filter
2012syn keyword ngxDirectiveThirdParty subs_filter_types
2013
2014" Summarizer Module <https://github.com/reeteshranjan/summarizer-nginx-module>
2015" Upstream nginx module to get summaries of documents using the summarizer daemon service
2016syn keyword ngxDirectiveThirdParty smrzr_filename
2017syn keyword ngxDirectiveThirdParty smrzr_ratio
2018
2019" Supervisord Module <https://github.com/FRiCKLE/ngx_supervisord/>
2020" Module providing nginx with API to communicate with supervisord and manage (start/stop) backends on-demand.
2021syn keyword ngxDirectiveThirdParty supervisord
2022syn keyword ngxDirectiveThirdParty supervisord_inherit_backend_status
2023syn keyword ngxDirectiveThirdParty supervisord_name
2024syn keyword ngxDirectiveThirdParty supervisord_start
2025syn keyword ngxDirectiveThirdParty supervisord_stop
2026
2027" Tarantool Upstream Module <https://github.com/tarantool/nginx_upstream_module>
2028" Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)
2029syn keyword ngxDirectiveThirdParty tnt_pass
2030syn keyword ngxDirectiveThirdParty tnt_http_methods
2031syn keyword ngxDirectiveThirdParty tnt_http_rest_methods
2032syn keyword ngxDirectiveThirdParty tnt_pass_http_request
2033syn keyword ngxDirectiveThirdParty tnt_pass_http_request_buffer_size
2034syn keyword ngxDirectiveThirdParty tnt_method
2035syn keyword ngxDirectiveThirdParty tnt_http_allowed_methods - experemental
2036syn keyword ngxDirectiveThirdParty tnt_send_timeout
2037syn keyword ngxDirectiveThirdParty tnt_read_timeout
2038syn keyword ngxDirectiveThirdParty tnt_buffer_size
2039syn keyword ngxDirectiveThirdParty tnt_next_upstream
2040syn keyword ngxDirectiveThirdParty tnt_connect_timeout
2041syn keyword ngxDirectiveThirdParty tnt_next_upstream
2042syn keyword ngxDirectiveThirdParty tnt_next_upstream_tries
2043syn keyword ngxDirectiveThirdParty tnt_next_upstream_timeout
2044
2045" TCP Proxy Module <http://yaoweibin.github.io/nginx_tcp_proxy_module/>
2046" Add the feature of tcp proxy with nginx, with health check and status monitor
2047syn keyword ngxDirectiveBlock tcp
2048" syn keyword ngxDirectiveThirdParty server
2049" syn keyword ngxDirectiveThirdParty listen
2050" syn keyword ngxDirectiveThirdParty allow
2051" syn keyword ngxDirectiveThirdParty deny
2052" syn keyword ngxDirectiveThirdParty so_keepalive
2053" syn keyword ngxDirectiveThirdParty tcp_nodelay
2054" syn keyword ngxDirectiveThirdParty timeout
2055" syn keyword ngxDirectiveThirdParty server_name
2056" syn keyword ngxDirectiveThirdParty resolver
2057" syn keyword ngxDirectiveThirdParty resolver_timeout
2058" syn keyword ngxDirectiveThirdParty upstream
2059syn keyword ngxDirectiveThirdParty check
2060syn keyword ngxDirectiveThirdParty check_http_send
2061syn keyword ngxDirectiveThirdParty check_http_expect_alive
2062syn keyword ngxDirectiveThirdParty check_smtp_send
2063syn keyword ngxDirectiveThirdParty check_smtp_expect_alive
2064syn keyword ngxDirectiveThirdParty check_shm_size
2065syn keyword ngxDirectiveThirdParty check_status
2066" syn keyword ngxDirectiveThirdParty ip_hash
2067" syn keyword ngxDirectiveThirdParty proxy_pass
2068" syn keyword ngxDirectiveThirdParty proxy_buffer
2069" syn keyword ngxDirectiveThirdParty proxy_connect_timeout
2070" syn keyword ngxDirectiveThirdParty proxy_read_timeout
2071syn keyword ngxDirectiveThirdParty proxy_write_timeout
2072
2073" Testcookie Module <https://github.com/kyprizel/testcookie-nginx-module>
2074" NGINX module for L7 DDoS attack mitigation
2075syn keyword ngxDirectiveThirdParty testcookie
2076syn keyword ngxDirectiveThirdParty testcookie_name
2077syn keyword ngxDirectiveThirdParty testcookie_domain
2078syn keyword ngxDirectiveThirdParty testcookie_expires
2079syn keyword ngxDirectiveThirdParty testcookie_path
2080syn keyword ngxDirectiveThirdParty testcookie_secret
2081syn keyword ngxDirectiveThirdParty testcookie_session
2082syn keyword ngxDirectiveThirdParty testcookie_arg
2083syn keyword ngxDirectiveThirdParty testcookie_max_attempts
2084syn keyword ngxDirectiveThirdParty testcookie_p3p
2085syn keyword ngxDirectiveThirdParty testcookie_fallback
2086syn keyword ngxDirectiveThirdParty testcookie_whitelist
2087syn keyword ngxDirectiveThirdParty testcookie_pass
2088syn keyword ngxDirectiveThirdParty testcookie_redirect_via_refresh
2089syn keyword ngxDirectiveThirdParty testcookie_refresh_template
2090syn keyword ngxDirectiveThirdParty testcookie_refresh_status
2091syn keyword ngxDirectiveThirdParty testcookie_deny_keepalive
2092syn keyword ngxDirectiveThirdParty testcookie_get_only
2093syn keyword ngxDirectiveThirdParty testcookie_https_location
2094syn keyword ngxDirectiveThirdParty testcookie_refresh_encrypt_cookie
2095syn keyword ngxDirectiveThirdParty testcookie_refresh_encrypt_cookie_key
2096syn keyword ngxDirectiveThirdParty testcookie_refresh_encrypt_iv
2097syn keyword ngxDirectiveThirdParty testcookie_internal
2098syn keyword ngxDirectiveThirdParty testcookie_httponly_flag
2099syn keyword ngxDirectiveThirdParty testcookie_secure_flag
2100
2101" Types Filter Module <https://github.com/flygoast/ngx_http_types_filter>
2102" Change the `Content-Type` output header depending on an extension variable according to a condition specified in the 'if' clause.
2103syn keyword ngxDirectiveThirdParty types_filter
2104syn keyword ngxDirectiveThirdParty types_filter_use_default
2105
2106" Unzip Module <https://github.com/youzee/nginx-unzip-module>
2107" Enabling fetching of files that are stored in zipped archives.
2108syn keyword ngxDirectiveThirdParty file_in_unzip_archivefile
2109syn keyword ngxDirectiveThirdParty file_in_unzip_extract
2110syn keyword ngxDirectiveThirdParty file_in_unzip
2111
2112" Upload Progress Module <https://www.nginx.com/resources/wiki/modules/upload_progress/>
2113" An upload progress system, that monitors RFC1867 POST upload as they are transmitted to upstream servers
2114syn keyword ngxDirectiveThirdParty upload_progress
2115syn keyword ngxDirectiveThirdParty track_uploads
2116syn keyword ngxDirectiveThirdParty report_uploads
2117syn keyword ngxDirectiveThirdParty upload_progress_content_type
2118syn keyword ngxDirectiveThirdParty upload_progress_header
2119syn keyword ngxDirectiveThirdParty upload_progress_jsonp_parameter
2120syn keyword ngxDirectiveThirdParty upload_progress_json_output
2121syn keyword ngxDirectiveThirdParty upload_progress_jsonp_output
2122syn keyword ngxDirectiveThirdParty upload_progress_template
2123
2124" Upload Module <https://www.nginx.com/resources/wiki/modules/upload/>
2125" Parses request body storing all files being uploaded to a directory specified by upload_store directive
2126syn keyword ngxDirectiveThirdParty upload_pass
2127syn keyword ngxDirectiveThirdParty upload_resumable
2128syn keyword ngxDirectiveThirdParty upload_store
2129syn keyword ngxDirectiveThirdParty upload_state_store
2130syn keyword ngxDirectiveThirdParty upload_store_access
2131syn keyword ngxDirectiveThirdParty upload_set_form_field
2132syn keyword ngxDirectiveThirdParty upload_aggregate_form_field
2133syn keyword ngxDirectiveThirdParty upload_pass_form_field
2134syn keyword ngxDirectiveThirdParty upload_cleanup
2135syn keyword ngxDirectiveThirdParty upload_buffer_size
2136syn keyword ngxDirectiveThirdParty upload_max_part_header_len
2137syn keyword ngxDirectiveThirdParty upload_max_file_size
2138syn keyword ngxDirectiveThirdParty upload_limit_rate
2139syn keyword ngxDirectiveThirdParty upload_max_output_body_len
2140syn keyword ngxDirectiveThirdParty upload_tame_arrays
2141syn keyword ngxDirectiveThirdParty upload_pass_args
2142
2143" Upstream Fair Module <https://github.com/gnosek/nginx-upstream-fair>
2144" The fair load balancer module for nginx http://nginx.localdomain.pl
2145syn keyword ngxDirectiveThirdParty fair
2146syn keyword ngxDirectiveThirdParty upstream_fair_shm_size
2147
2148" Upstream Hash Module (DEPRECATED) <http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule>
2149" Provides simple upstream load distribution by hashing a configurable variable.
2150" syn keyword ngxDirectiveDeprecated hash
2151syn keyword ngxDirectiveDeprecated hash_again
2152
2153" Upstream Domain Resolve Module <https://www.nginx.com/resources/wiki/modules/domain_resolve/>
2154" A load-balancer that resolves an upstream domain name asynchronously.
2155syn keyword ngxDirectiveThirdParty jdomain
2156
2157" Upsync Module <https://github.com/weibocom/nginx-upsync-module>
2158" Sync upstreams from consul or others, dynamiclly modify backend-servers attribute(weight, max_fails,...), needn't reload nginx
2159syn keyword ngxDirectiveThirdParty upsync
2160syn keyword ngxDirectiveThirdParty upsync_dump_path
2161syn keyword ngxDirectiveThirdParty upsync_lb
2162syn keyword ngxDirectiveThirdParty upstream_show
2163
2164" URL Module <https://github.com/vozlt/nginx-module-url>
2165" Nginx url encoding converting module
2166syn keyword ngxDirectiveThirdParty url_encoding_convert
2167syn keyword ngxDirectiveThirdParty url_encoding_convert_from
2168syn keyword ngxDirectiveThirdParty url_encoding_convert_to
2169
2170" User Agent Module <https://github.com/alibaba/nginx-http-user-agent>
2171" Match browsers and crawlers
2172syn keyword ngxDirectiveThirdParty user_agent
2173
2174" Upstrema Ketama Chash Module <https://github.com/flygoast/ngx_http_upstream_ketama_chash>
2175" Nginx load-balancer module implementing ketama consistent hashing.
2176syn keyword ngxDirectiveThirdParty ketama_chash
2177
2178" Video Thumbextractor Module <https://github.com/wandenberg/nginx-video-thumbextractor-module>
2179" Extract thumbs from a video file
2180syn keyword ngxDirectiveThirdParty video_thumbextractor
2181syn keyword ngxDirectiveThirdParty video_thumbextractor_video_filename
2182syn keyword ngxDirectiveThirdParty video_thumbextractor_video_second
2183syn keyword ngxDirectiveThirdParty video_thumbextractor_image_width
2184syn keyword ngxDirectiveThirdParty video_thumbextractor_image_height
2185syn keyword ngxDirectiveThirdParty video_thumbextractor_only_keyframe
2186syn keyword ngxDirectiveThirdParty video_thumbextractor_next_time
2187syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_rows
2188syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_cols
2189syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_max_rows
2190syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_max_cols
2191syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_sample_interval
2192syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_color
2193syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_margin
2194syn keyword ngxDirectiveThirdParty video_thumbextractor_tile_padding
2195syn keyword ngxDirectiveThirdParty video_thumbextractor_threads
2196syn keyword ngxDirectiveThirdParty video_thumbextractor_processes_per_worker
2197
2198" Eval Module <http://www.grid.net.ru/nginx/eval.en.html>
2199" Module for nginx web server evaluates response of proxy or memcached module into variables.
2200syn keyword ngxDirectiveThirdParty eval
2201syn keyword ngxDirectiveThirdParty eval_escalate
2202syn keyword ngxDirectiveThirdParty eval_override_content_type
2203
2204" VTS Module <https://github.com/vozlt/nginx-module-vts>
2205" Nginx virtual host traffic status module
2206syn keyword ngxDirectiveThirdParty vhost_traffic_status
2207syn keyword ngxDirectiveThirdParty vhost_traffic_status_zone
2208syn keyword ngxDirectiveThirdParty vhost_traffic_status_display
2209syn keyword ngxDirectiveThirdParty vhost_traffic_status_display_format
2210syn keyword ngxDirectiveThirdParty vhost_traffic_status_display_jsonp
2211syn keyword ngxDirectiveThirdParty vhost_traffic_status_filter
2212syn keyword ngxDirectiveThirdParty vhost_traffic_status_filter_by_host
2213syn keyword ngxDirectiveThirdParty vhost_traffic_status_filter_by_set_key
2214syn keyword ngxDirectiveThirdParty vhost_traffic_status_filter_check_duplicate
2215syn keyword ngxDirectiveThirdParty vhost_traffic_status_limit
2216syn keyword ngxDirectiveThirdParty vhost_traffic_status_limit_traffic
2217syn keyword ngxDirectiveThirdParty vhost_traffic_status_limit_traffic_by_set_key
2218syn keyword ngxDirectiveThirdParty vhost_traffic_status_limit_check_duplicate
2219
2220" XSS Module <https://github.com/openresty/xss-nginx-module>
2221" Native support for cross-site scripting (XSS) in an nginx.
2222syn keyword ngxDirectiveThirdParty xss_get
2223syn keyword ngxDirectiveThirdParty xss_callback_arg
2224syn keyword ngxDirectiveThirdParty xss_override_status
2225syn keyword ngxDirectiveThirdParty xss_check_status
2226syn keyword ngxDirectiveThirdParty xss_input_types
2227
2228" ZIP Module <https://www.nginx.com/resources/wiki/modules/zip/>
2229" ZIP archiver for nginx
2230
2231" Contained LUA blocks for embedded syntax highlighting
2232syn keyword ngxThirdPartyLuaBlock balancer_by_lua_block contained
2233syn keyword ngxThirdPartyLuaBlock init_by_lua_block contained
2234syn keyword ngxThirdPartyLuaBlock init_worker_by_lua_block contained
2235syn keyword ngxThirdPartyLuaBlock set_by_lua_block contained
2236syn keyword ngxThirdPartyLuaBlock content_by_lua_block contained
2237syn keyword ngxThirdPartyLuaBlock rewrite_by_lua_block contained
2238syn keyword ngxThirdPartyLuaBlock access_by_lua_block contained
2239syn keyword ngxThirdPartyLuaBlock header_filter_by_lua_block contained
2240syn keyword ngxThirdPartyLuaBlock body_filter_by_lua_block contained
2241syn keyword ngxThirdPartyLuaBlock log_by_lua_block contained
2242syn keyword ngxThirdPartyLuaBlock ssl_certificate_by_lua_block contained
2243syn keyword ngxThirdPartyLuaBlock ssl_session_fetch_by_lua_block contained
2244syn keyword ngxThirdPartyLuaBlock ssl_session_store_by_lua_block contained
2245
2246
2247" Nested syntax in ERB templating statements
2248" Subtype needs to be set to '', otherwise recursive errors occur when opening *.nginx files
2249let b:eruby_subtype = ''
2250unlet b:current_syntax
2251syn include @ERB syntax/eruby.vim
2252syn region ngxTemplate start=+<%[^\=]+ end=+%>+ oneline contains=@ERB
2253syn region ngxTemplateVar start=+<%=+ end=+%>+ oneline
2254let b:current_syntax = "nginx"
2255
2256" Nested syntax in Jinja templating statements
2257" This dependend on https://github.com/lepture/vim-jinja
2258unlet b:current_syntax
2259try
2260 syn include @JINJA syntax/jinja.vim
2261 syn region ngxTemplate start=+{%+ end=+%}+ oneline contains=@JINJA
2262 syn region ngxTemplateVar start=+{{+ end=+}}+ oneline
2263catch
2264endtry
2265let b:current_syntax = "nginx"
2266
2267" Enable nested LUA syntax highlighting
2268unlet b:current_syntax
2269syn include @LUA syntax/lua.vim
2270syn region ngxLua start=+^\s*\w\+_by_lua_block\s*{+ end=+}+me=s-1 contains=ngxBlock,@LUA
2271let b:current_syntax = "nginx"
2272
2273
2274" Highlight
2275hi link ngxComment Comment
2276hi link ngxVariable Identifier
2277hi link ngxVariableBlock Identifier
2278hi link ngxVariableString PreProc
2279hi link ngxString String
2280hi link ngxIPaddr Delimiter
2281hi link ngxBoolean Boolean
2282hi link ngxInteger Number
2283hi link ngxDirectiveBlock Statement
2284hi link ngxDirectiveImportant Type
2285hi link ngxDirectiveControl Keyword
2286hi link ngxDirectiveDeprecated Error
2287hi link ngxDirective Function
2288hi link ngxDirectiveThirdParty Function
2289hi link ngxListenOptions PreProc
2290hi link ngxUpstreamServerOptions PreProc
2291hi link ngxProxyNextUpstreamOptions PreProc
2292hi link ngxMailProtocol Keyword
2293hi link ngxSSLProtocol PreProc
2294hi link ngxSSLProtocolDeprecated Error
2295hi link ngxStickyOptions ngxDirective
2296hi link ngxCookieOptions PreProc
2297hi link ngxTemplateVar Identifier
2298
2299hi link ngxSSLSessionTicketsOff ngxBoolean
2300hi link ngxSSLSessionTicketsOn Error
2301hi link ngxSSLPreferServerCiphersOn ngxBoolean
2302hi link ngxSSLPreferServerCiphersOff Error
2303hi link ngxGzipOff ngxBoolean
2304hi link ngxGzipOn Error
2305hi link ngxSSLCipherInsecure Error
2306
2307hi link ngxThirdPartyLuaBlock Function