Klaus Demo nginx / 61a2667
Contrib: add vim scripts to contrib/ directory. I've been maintaining these scripts independently for a while now, even though I'm no longer active in the community. Seems to me that contrib/ is a good long-term home for the scripts. Evan Miller 6 years ago
3 changed file(s) with 718 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 au BufRead,BufNewFile *.nginx set ft=nginx
1 au BufRead,BufNewFile */etc/nginx/* set ft=nginx
2 au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx
3 au BufRead,BufNewFile nginx.conf set ft=nginx
0 if exists("b:did_indent")
1 finish
2 endif
3 let b:did_indent = 1
4
5 setlocal indentexpr=
6
7 " cindent actually works for nginx' simple file structure
8 setlocal cindent
9 " Just make sure that the comments are not reset as defs would be.
10 setlocal cinkeys-=0#
0 " Vim syntax file
1 " Language: nginx.conf
2
3 if exists("b:current_syntax")
4 finish
5 end
6
7 setlocal iskeyword+=.
8 setlocal iskeyword+=/
9 setlocal iskeyword+=:
10
11 syn match ngxVariable '\$\(\w\+\|{\w\+}\)'
12 syn match ngxVariableBlock '\$\(\w\+\|{\w\+}\)' contained
13 syn match ngxVariableString '\$\(\w\+\|{\w\+}\)' contained
14 syn region ngxBlock start=+^+ end=+{+ skip=+\${+ contains=ngxComment,ngxDirectiveBlock,ngxVariableBlock,ngxString oneline
15 syn region ngxString start=+\z(["']\)+ end=+\z1+ skip=+\\\\\|\\\z1+ contains=ngxVariableString
16 syn match ngxComment ' *#.*$'
17
18 syn keyword ngxBoolean on
19 syn keyword ngxBoolean off
20
21 syn keyword ngxDirectiveBlock http contained
22 syn keyword ngxDirectiveBlock mail contained
23 syn keyword ngxDirectiveBlock events contained
24 syn keyword ngxDirectiveBlock server contained
25 syn keyword ngxDirectiveBlock types contained
26 syn keyword ngxDirectiveBlock location contained
27 syn keyword ngxDirectiveBlock upstream contained
28 syn keyword ngxDirectiveBlock charset_map contained
29 syn keyword ngxDirectiveBlock limit_except contained
30 syn keyword ngxDirectiveBlock if contained
31 syn keyword ngxDirectiveBlock geo contained
32 syn keyword ngxDirectiveBlock map contained
33
34 syn keyword ngxDirectiveImportant include
35 syn keyword ngxDirectiveImportant root
36 syn keyword ngxDirectiveImportant server
37 syn keyword ngxDirectiveImportant server_name
38 syn keyword ngxDirectiveImportant listen
39 syn keyword ngxDirectiveImportant internal
40 syn keyword ngxDirectiveImportant proxy_pass
41 syn keyword ngxDirectiveImportant memcached_pass
42 syn keyword ngxDirectiveImportant fastcgi_pass
43 syn keyword ngxDirectiveImportant try_files
44
45 syn keyword ngxDirectiveControl break
46 syn keyword ngxDirectiveControl return
47 syn keyword ngxDirectiveControl rewrite
48 syn keyword ngxDirectiveControl set
49
50 syn keyword ngxDirectiveError error_page
51 syn keyword ngxDirectiveError post_action
52
53 syn keyword ngxDirectiveDeprecated connections
54 syn keyword ngxDirectiveDeprecated imap
55 syn keyword ngxDirectiveDeprecated open_file_cache_retest
56 syn keyword ngxDirectiveDeprecated optimize_server_names
57 syn keyword ngxDirectiveDeprecated satisfy_any
58
59 syn keyword ngxDirective accept_mutex
60 syn keyword ngxDirective accept_mutex_delay
61 syn keyword ngxDirective access_log
62 syn keyword ngxDirective add_after_body
63 syn keyword ngxDirective add_before_body
64 syn keyword ngxDirective add_header
65 syn keyword ngxDirective addition_types
66 syn keyword ngxDirective aio
67 syn keyword ngxDirective alias
68 syn keyword ngxDirective allow
69 syn keyword ngxDirective ancient_browser
70 syn keyword ngxDirective ancient_browser_value
71 syn keyword ngxDirective auth_basic
72 syn keyword ngxDirective auth_basic_user_file
73 syn keyword ngxDirective auth_http
74 syn keyword ngxDirective auth_http_header
75 syn keyword ngxDirective auth_http_timeout
76 syn keyword ngxDirective autoindex
77 syn keyword ngxDirective autoindex_exact_size
78 syn keyword ngxDirective autoindex_localtime
79 syn keyword ngxDirective charset
80 syn keyword ngxDirective charset_types
81 syn keyword ngxDirective client_body_buffer_size
82 syn keyword ngxDirective client_body_in_file_only
83 syn keyword ngxDirective client_body_in_single_buffer
84 syn keyword ngxDirective client_body_temp_path
85 syn keyword ngxDirective client_body_timeout
86 syn keyword ngxDirective client_header_buffer_size
87 syn keyword ngxDirective client_header_timeout
88 syn keyword ngxDirective client_max_body_size
89 syn keyword ngxDirective connection_pool_size
90 syn keyword ngxDirective create_full_put_path
91 syn keyword ngxDirective daemon
92 syn keyword ngxDirective dav_access
93 syn keyword ngxDirective dav_methods
94 syn keyword ngxDirective debug_connection
95 syn keyword ngxDirective debug_points
96 syn keyword ngxDirective default_type
97 syn keyword ngxDirective degradation
98 syn keyword ngxDirective degrade
99 syn keyword ngxDirective deny
100 syn keyword ngxDirective devpoll_changes
101 syn keyword ngxDirective devpoll_events
102 syn keyword ngxDirective directio
103 syn keyword ngxDirective directio_alignment
104 syn keyword ngxDirective empty_gif
105 syn keyword ngxDirective env
106 syn keyword ngxDirective epoll_events
107 syn keyword ngxDirective error_log
108 syn keyword ngxDirective eventport_events
109 syn keyword ngxDirective expires
110 syn keyword ngxDirective fastcgi_bind
111 syn keyword ngxDirective fastcgi_buffer_size
112 syn keyword ngxDirective fastcgi_buffers
113 syn keyword ngxDirective fastcgi_busy_buffers_size
114 syn keyword ngxDirective fastcgi_cache
115 syn keyword ngxDirective fastcgi_cache_key
116 syn keyword ngxDirective fastcgi_cache_methods
117 syn keyword ngxDirective fastcgi_cache_min_uses
118 syn keyword ngxDirective fastcgi_cache_path
119 syn keyword ngxDirective fastcgi_cache_use_stale
120 syn keyword ngxDirective fastcgi_cache_valid
121 syn keyword ngxDirective fastcgi_catch_stderr
122 syn keyword ngxDirective fastcgi_connect_timeout
123 syn keyword ngxDirective fastcgi_hide_header
124 syn keyword ngxDirective fastcgi_ignore_client_abort
125 syn keyword ngxDirective fastcgi_ignore_headers
126 syn keyword ngxDirective fastcgi_index
127 syn keyword ngxDirective fastcgi_intercept_errors
128 syn keyword ngxDirective fastcgi_max_temp_file_size
129 syn keyword ngxDirective fastcgi_next_upstream
130 syn keyword ngxDirective fastcgi_param
131 syn keyword ngxDirective fastcgi_pass_header
132 syn keyword ngxDirective fastcgi_pass_request_body
133 syn keyword ngxDirective fastcgi_pass_request_headers
134 syn keyword ngxDirective fastcgi_read_timeout
135 syn keyword ngxDirective fastcgi_send_lowat
136 syn keyword ngxDirective fastcgi_send_timeout
137 syn keyword ngxDirective fastcgi_split_path_info
138 syn keyword ngxDirective fastcgi_store
139 syn keyword ngxDirective fastcgi_store_access
140 syn keyword ngxDirective fastcgi_temp_file_write_size
141 syn keyword ngxDirective fastcgi_temp_path
142 syn keyword ngxDirective fastcgi_upstream_fail_timeout
143 syn keyword ngxDirective fastcgi_upstream_max_fails
144 syn keyword ngxDirective flv
145 syn keyword ngxDirective geoip_city
146 syn keyword ngxDirective geoip_country
147 syn keyword ngxDirective google_perftools_profiles
148 syn keyword ngxDirective gzip
149 syn keyword ngxDirective gzip_buffers
150 syn keyword ngxDirective gzip_comp_level
151 syn keyword ngxDirective gzip_disable
152 syn keyword ngxDirective gzip_hash
153 syn keyword ngxDirective gzip_http_version
154 syn keyword ngxDirective gzip_min_length
155 syn keyword ngxDirective gzip_no_buffer
156 syn keyword ngxDirective gzip_proxied
157 syn keyword ngxDirective gzip_static
158 syn keyword ngxDirective gzip_types
159 syn keyword ngxDirective gzip_vary
160 syn keyword ngxDirective gzip_window
161 syn keyword ngxDirective if_modified_since
162 syn keyword ngxDirective ignore_invalid_headers
163 syn keyword ngxDirective image_filter
164 syn keyword ngxDirective image_filter_buffer
165 syn keyword ngxDirective image_filter_jpeg_quality
166 syn keyword ngxDirective image_filter_transparency
167 syn keyword ngxDirective imap_auth
168 syn keyword ngxDirective imap_capabilities
169 syn keyword ngxDirective imap_client_buffer
170 syn keyword ngxDirective index
171 syn keyword ngxDirective ip_hash
172 syn keyword ngxDirective keepalive_requests
173 syn keyword ngxDirective keepalive_timeout
174 syn keyword ngxDirective kqueue_changes
175 syn keyword ngxDirective kqueue_events
176 syn keyword ngxDirective large_client_header_buffers
177 syn keyword ngxDirective limit_conn
178 syn keyword ngxDirective limit_conn_log_level
179 syn keyword ngxDirective limit_rate
180 syn keyword ngxDirective limit_rate_after
181 syn keyword ngxDirective limit_req
182 syn keyword ngxDirective limit_req_log_level
183 syn keyword ngxDirective limit_req_zone
184 syn keyword ngxDirective limit_zone
185 syn keyword ngxDirective lingering_time
186 syn keyword ngxDirective lingering_timeout
187 syn keyword ngxDirective lock_file
188 syn keyword ngxDirective log_format
189 syn keyword ngxDirective log_not_found
190 syn keyword ngxDirective log_subrequest
191 syn keyword ngxDirective map_hash_bucket_size
192 syn keyword ngxDirective map_hash_max_size
193 syn keyword ngxDirective master_process
194 syn keyword ngxDirective memcached_bind
195 syn keyword ngxDirective memcached_buffer_size
196 syn keyword ngxDirective memcached_connect_timeout
197 syn keyword ngxDirective memcached_next_upstream
198 syn keyword ngxDirective memcached_read_timeout
199 syn keyword ngxDirective memcached_send_timeout
200 syn keyword ngxDirective memcached_upstream_fail_timeout
201 syn keyword ngxDirective memcached_upstream_max_fails
202 syn keyword ngxDirective merge_slashes
203 syn keyword ngxDirective min_delete_depth
204 syn keyword ngxDirective modern_browser
205 syn keyword ngxDirective modern_browser_value
206 syn keyword ngxDirective msie_padding
207 syn keyword ngxDirective msie_refresh
208 syn keyword ngxDirective multi_accept
209 syn keyword ngxDirective open_file_cache
210 syn keyword ngxDirective open_file_cache_errors
211 syn keyword ngxDirective open_file_cache_events
212 syn keyword ngxDirective open_file_cache_min_uses
213 syn keyword ngxDirective open_file_cache_valid
214 syn keyword ngxDirective open_log_file_cache
215 syn keyword ngxDirective output_buffers
216 syn keyword ngxDirective override_charset
217 syn keyword ngxDirective perl
218 syn keyword ngxDirective perl_modules
219 syn keyword ngxDirective perl_require
220 syn keyword ngxDirective perl_set
221 syn keyword ngxDirective pid
222 syn keyword ngxDirective pop3_auth
223 syn keyword ngxDirective pop3_capabilities
224 syn keyword ngxDirective port_in_redirect
225 syn keyword ngxDirective postpone_gzipping
226 syn keyword ngxDirective postpone_output
227 syn keyword ngxDirective protocol
228 syn keyword ngxDirective proxy
229 syn keyword ngxDirective proxy_bind
230 syn keyword ngxDirective proxy_buffer
231 syn keyword ngxDirective proxy_buffer_size
232 syn keyword ngxDirective proxy_buffering
233 syn keyword ngxDirective proxy_buffers
234 syn keyword ngxDirective proxy_busy_buffers_size
235 syn keyword ngxDirective proxy_cache
236 syn keyword ngxDirective proxy_cache_key
237 syn keyword ngxDirective proxy_cache_methods
238 syn keyword ngxDirective proxy_cache_min_uses
239 syn keyword ngxDirective proxy_cache_path
240 syn keyword ngxDirective proxy_cache_use_stale
241 syn keyword ngxDirective proxy_cache_valid
242 syn keyword ngxDirective proxy_connect_timeout
243 syn keyword ngxDirective proxy_headers_hash_bucket_size
244 syn keyword ngxDirective proxy_headers_hash_max_size
245 syn keyword ngxDirective proxy_hide_header
246 syn keyword ngxDirective proxy_ignore_client_abort
247 syn keyword ngxDirective proxy_ignore_headers
248 syn keyword ngxDirective proxy_intercept_errors
249 syn keyword ngxDirective proxy_max_temp_file_size
250 syn keyword ngxDirective proxy_method
251 syn keyword ngxDirective proxy_next_upstream
252 syn keyword ngxDirective proxy_pass_error_message
253 syn keyword ngxDirective proxy_pass_header
254 syn keyword ngxDirective proxy_pass_request_body
255 syn keyword ngxDirective proxy_pass_request_headers
256 syn keyword ngxDirective proxy_read_timeout
257 syn keyword ngxDirective proxy_redirect
258 syn keyword ngxDirective proxy_send_lowat
259 syn keyword ngxDirective proxy_send_timeout
260 syn keyword ngxDirective proxy_set_body
261 syn keyword ngxDirective proxy_set_header
262 syn keyword ngxDirective proxy_ssl_session_reuse
263 syn keyword ngxDirective proxy_store
264 syn keyword ngxDirective proxy_store_access
265 syn keyword ngxDirective proxy_temp_file_write_size
266 syn keyword ngxDirective proxy_temp_path
267 syn keyword ngxDirective proxy_timeout
268 syn keyword ngxDirective proxy_upstream_fail_timeout
269 syn keyword ngxDirective proxy_upstream_max_fails
270 syn keyword ngxDirective random_index
271 syn keyword ngxDirective read_ahead
272 syn keyword ngxDirective real_ip_header
273 syn keyword ngxDirective recursive_error_pages
274 syn keyword ngxDirective request_pool_size
275 syn keyword ngxDirective reset_timedout_connection
276 syn keyword ngxDirective resolver
277 syn keyword ngxDirective resolver_timeout
278 syn keyword ngxDirective rewrite_log
279 syn keyword ngxDirective rtsig_overflow_events
280 syn keyword ngxDirective rtsig_overflow_test
281 syn keyword ngxDirective rtsig_overflow_threshold
282 syn keyword ngxDirective rtsig_signo
283 syn keyword ngxDirective satisfy
284 syn keyword ngxDirective secure_link_secret
285 syn keyword ngxDirective send_lowat
286 syn keyword ngxDirective send_timeout
287 syn keyword ngxDirective sendfile
288 syn keyword ngxDirective sendfile_max_chunk
289 syn keyword ngxDirective server_name_in_redirect
290 syn keyword ngxDirective server_names_hash_bucket_size
291 syn keyword ngxDirective server_names_hash_max_size
292 syn keyword ngxDirective server_tokens
293 syn keyword ngxDirective set_real_ip_from
294 syn keyword ngxDirective smtp_auth
295 syn keyword ngxDirective smtp_capabilities
296 syn keyword ngxDirective smtp_client_buffer
297 syn keyword ngxDirective smtp_greeting_delay
298 syn keyword ngxDirective so_keepalive
299 syn keyword ngxDirective source_charset
300 syn keyword ngxDirective ssi
301 syn keyword ngxDirective ssi_ignore_recycled_buffers
302 syn keyword ngxDirective ssi_min_file_chunk
303 syn keyword ngxDirective ssi_silent_errors
304 syn keyword ngxDirective ssi_types
305 syn keyword ngxDirective ssi_value_length
306 syn keyword ngxDirective ssl
307 syn keyword ngxDirective ssl_certificate
308 syn keyword ngxDirective ssl_certificate_key
309 syn keyword ngxDirective ssl_ciphers
310 syn keyword ngxDirective ssl_client_certificate
311 syn keyword ngxDirective ssl_crl
312 syn keyword ngxDirective ssl_dhparam
313 syn keyword ngxDirective ssl_engine
314 syn keyword ngxDirective ssl_prefer_server_ciphers
315 syn keyword ngxDirective ssl_protocols
316 syn keyword ngxDirective ssl_session_cache
317 syn keyword ngxDirective ssl_session_timeout
318 syn keyword ngxDirective ssl_verify_client
319 syn keyword ngxDirective ssl_verify_depth
320 syn keyword ngxDirective starttls
321 syn keyword ngxDirective stub_status
322 syn keyword ngxDirective sub_filter
323 syn keyword ngxDirective sub_filter_once
324 syn keyword ngxDirective sub_filter_types
325 syn keyword ngxDirective tcp_nodelay
326 syn keyword ngxDirective tcp_nopush
327 syn keyword ngxDirective thread_stack_size
328 syn keyword ngxDirective timeout
329 syn keyword ngxDirective timer_resolution
330 syn keyword ngxDirective types_hash_bucket_size
331 syn keyword ngxDirective types_hash_max_size
332 syn keyword ngxDirective underscores_in_headers
333 syn keyword ngxDirective uninitialized_variable_warn
334 syn keyword ngxDirective use
335 syn keyword ngxDirective user
336 syn keyword ngxDirective userid
337 syn keyword ngxDirective userid_domain
338 syn keyword ngxDirective userid_expires
339 syn keyword ngxDirective userid_mark
340 syn keyword ngxDirective userid_name
341 syn keyword ngxDirective userid_p3p
342 syn keyword ngxDirective userid_path
343 syn keyword ngxDirective userid_service
344 syn keyword ngxDirective valid_referers
345 syn keyword ngxDirective variables_hash_bucket_size
346 syn keyword ngxDirective variables_hash_max_size
347 syn keyword ngxDirective worker_connections
348 syn keyword ngxDirective worker_cpu_affinity
349 syn keyword ngxDirective worker_priority
350 syn keyword ngxDirective worker_processes
351 syn keyword ngxDirective worker_rlimit_core
352 syn keyword ngxDirective worker_rlimit_nofile
353 syn keyword ngxDirective worker_rlimit_sigpending
354 syn keyword ngxDirective worker_threads
355 syn keyword ngxDirective working_directory
356 syn keyword ngxDirective xclient
357 syn keyword ngxDirective xml_entities
358 syn keyword ngxDirective xslt_stylesheet
359 syn keyword ngxDirective xslt_types
360
361 " 3rd party module list:
362 " http://wiki.nginx.org/Nginx3rdPartyModules
363
364 " Accept Language Module <http://wiki.nginx.org/NginxAcceptLanguageModule>
365 " Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
366 syn keyword ngxDirectiveThirdParty set_from_accept_language
367
368 " Access Key Module <http://wiki.nginx.org/NginxHttpAccessKeyModule>
369 " Denies access unless the request URL contains an access key.
370 syn keyword ngxDirectiveThirdParty accesskey
371 syn keyword ngxDirectiveThirdParty accesskey_arg
372 syn keyword ngxDirectiveThirdParty accesskey_hashmethod
373 syn keyword ngxDirectiveThirdParty accesskey_signature
374
375 " Auth PAM Module <http://web.iti.upv.es/~sto/nginx/>
376 " HTTP Basic Authentication using PAM.
377 syn keyword ngxDirectiveThirdParty auth_pam
378 syn keyword ngxDirectiveThirdParty auth_pam_service_name
379
380 " Cache Purge Module <http://labs.frickle.com/nginx_ngx_cache_purge/>
381 " Module adding ability to purge content from FastCGI and proxy caches.
382 syn keyword ngxDirectiveThirdParty fastcgi_cache_purge
383 syn keyword ngxDirectiveThirdParty proxy_cache_purge
384
385 " Chunkin Module <http://wiki.nginx.org/NginxHttpChunkinModule>
386 " HTTP 1.1 chunked-encoding request body support for Nginx.
387 syn keyword ngxDirectiveThirdParty chunkin
388 syn keyword ngxDirectiveThirdParty chunkin_keepalive
389 syn keyword ngxDirectiveThirdParty chunkin_max_chunks_per_buf
390 syn keyword ngxDirectiveThirdParty chunkin_resume
391
392 " Circle GIF Module <http://wiki.nginx.org/NginxHttpCircleGifModule>
393 " Generates simple circle images with the colors and size specified in the URL.
394 syn keyword ngxDirectiveThirdParty circle_gif
395 syn keyword ngxDirectiveThirdParty circle_gif_max_radius
396 syn keyword ngxDirectiveThirdParty circle_gif_min_radius
397 syn keyword ngxDirectiveThirdParty circle_gif_step_radius
398
399 " Drizzle Module <http://github.com/chaoslawful/drizzle-nginx-module>
400 " Make nginx talk directly to mysql, drizzle, and sqlite3 by libdrizzle.
401 syn keyword ngxDirectiveThirdParty drizzle_connect_timeout
402 syn keyword ngxDirectiveThirdParty drizzle_dbname
403 syn keyword ngxDirectiveThirdParty drizzle_keepalive
404 syn keyword ngxDirectiveThirdParty drizzle_module_header
405 syn keyword ngxDirectiveThirdParty drizzle_pass
406 syn keyword ngxDirectiveThirdParty drizzle_query
407 syn keyword ngxDirectiveThirdParty drizzle_recv_cols_timeout
408 syn keyword ngxDirectiveThirdParty drizzle_recv_rows_timeout
409 syn keyword ngxDirectiveThirdParty drizzle_send_query_timeout
410 syn keyword ngxDirectiveThirdParty drizzle_server
411
412 " Echo Module <http://wiki.nginx.org/NginxHttpEchoModule>
413 " Brings 'echo', 'sleep', 'time', 'exec' and more shell-style goodies to Nginx config file.
414 syn keyword ngxDirectiveThirdParty echo
415 syn keyword ngxDirectiveThirdParty echo_after_body
416 syn keyword ngxDirectiveThirdParty echo_before_body
417 syn keyword ngxDirectiveThirdParty echo_blocking_sleep
418 syn keyword ngxDirectiveThirdParty echo_duplicate
419 syn keyword ngxDirectiveThirdParty echo_end
420 syn keyword ngxDirectiveThirdParty echo_exec
421 syn keyword ngxDirectiveThirdParty echo_flush
422 syn keyword ngxDirectiveThirdParty echo_foreach_split
423 syn keyword ngxDirectiveThirdParty echo_location
424 syn keyword ngxDirectiveThirdParty echo_location_async
425 syn keyword ngxDirectiveThirdParty echo_read_request_body
426 syn keyword ngxDirectiveThirdParty echo_request_body
427 syn keyword ngxDirectiveThirdParty echo_reset_timer
428 syn keyword ngxDirectiveThirdParty echo_sleep
429 syn keyword ngxDirectiveThirdParty echo_subrequest
430 syn keyword ngxDirectiveThirdParty echo_subrequest_async
431
432 " Events Module <http://docs.dutov.org/nginx_modules_events_en.html>
433 " Privides options for start/stop events.
434 syn keyword ngxDirectiveThirdParty on_start
435 syn keyword ngxDirectiveThirdParty on_stop
436
437 " EY Balancer Module <http://github.com/ry/nginx-ey-balancer>
438 " Adds a request queue to Nginx that allows the limiting of concurrent requests passed to the upstream.
439 syn keyword ngxDirectiveThirdParty max_connections
440 syn keyword ngxDirectiveThirdParty max_connections_max_queue_length
441 syn keyword ngxDirectiveThirdParty max_connections_queue_timeout
442
443 " Fancy Indexes Module <https://connectical.com/projects/ngx-fancyindex/wiki>
444 " Like the built-in autoindex module, but fancier.
445 syn keyword ngxDirectiveThirdParty fancyindex
446 syn keyword ngxDirectiveThirdParty fancyindex_exact_size
447 syn keyword ngxDirectiveThirdParty fancyindex_footer
448 syn keyword ngxDirectiveThirdParty fancyindex_header
449 syn keyword ngxDirectiveThirdParty fancyindex_localtime
450 syn keyword ngxDirectiveThirdParty fancyindex_readme
451 syn keyword ngxDirectiveThirdParty fancyindex_readme_mode
452
453 " GeoIP Module (DEPRECATED) <http://wiki.nginx.org/NginxHttp3rdPartyGeoIPModule>
454 " Country code lookups via the MaxMind GeoIP API.
455 syn keyword ngxDirectiveThirdParty geoip_country_file
456
457 " Headers More Module <http://wiki.nginx.org/NginxHttpHeadersMoreModule>
458 " Set and clear input and output headers...more than "add"!
459 syn keyword ngxDirectiveThirdParty more_clear_headers
460 syn keyword ngxDirectiveThirdParty more_clear_input_headers
461 syn keyword ngxDirectiveThirdParty more_set_headers
462 syn keyword ngxDirectiveThirdParty more_set_input_headers
463
464 " HTTP Push Module <http://pushmodule.slact.net/>
465 " Turn Nginx into an adept long-polling HTTP Push (Comet) server.
466 syn keyword ngxDirectiveThirdParty push_buffer_size
467 syn keyword ngxDirectiveThirdParty push_listener
468 syn keyword ngxDirectiveThirdParty push_message_timeout
469 syn keyword ngxDirectiveThirdParty push_queue_messages
470 syn keyword ngxDirectiveThirdParty push_sender
471
472 " HTTP Redis Module <http://people.FreeBSD.ORG/~osa/ngx_http_redis-0.3.1.tar.gz>>
473 " Redis <http://code.google.com/p/redis/> support.>
474 syn keyword ngxDirectiveThirdParty redis_bind
475 syn keyword ngxDirectiveThirdParty redis_buffer_size
476 syn keyword ngxDirectiveThirdParty redis_connect_timeout
477 syn keyword ngxDirectiveThirdParty redis_next_upstream
478 syn keyword ngxDirectiveThirdParty redis_pass
479 syn keyword ngxDirectiveThirdParty redis_read_timeout
480 syn keyword ngxDirectiveThirdParty redis_send_timeout
481
482 " HTTP JavaScript Module <http://wiki.github.com/kung-fu-tzu/ngx_http_js_module>
483 " Embedding SpiderMonkey. Nearly full port on Perl module.
484 syn keyword ngxDirectiveThirdParty js
485 syn keyword ngxDirectiveThirdParty js_filter
486 syn keyword ngxDirectiveThirdParty js_filter_types
487 syn keyword ngxDirectiveThirdParty js_load
488 syn keyword ngxDirectiveThirdParty js_maxmem
489 syn keyword ngxDirectiveThirdParty js_require
490 syn keyword ngxDirectiveThirdParty js_set
491 syn keyword ngxDirectiveThirdParty js_utf8
492
493 " Log Request Speed <http://wiki.nginx.org/NginxHttpLogRequestSpeed>
494 " Log the time it took to process each request.
495 syn keyword ngxDirectiveThirdParty log_request_speed_filter
496 syn keyword ngxDirectiveThirdParty log_request_speed_filter_timeout
497
498 " Memc Module <http://wiki.nginx.org/NginxHttpMemcModule>
499 " An extended version of the standard memcached module that supports set, add, delete, and many more memcached commands.
500 syn keyword ngxDirectiveThirdParty memc_buffer_size
501 syn keyword ngxDirectiveThirdParty memc_cmds_allowed
502 syn keyword ngxDirectiveThirdParty memc_connect_timeout
503 syn keyword ngxDirectiveThirdParty memc_flags_to_last_modified
504 syn keyword ngxDirectiveThirdParty memc_next_upstream
505 syn keyword ngxDirectiveThirdParty memc_pass
506 syn keyword ngxDirectiveThirdParty memc_read_timeout
507 syn keyword ngxDirectiveThirdParty memc_send_timeout
508 syn keyword ngxDirectiveThirdParty memc_upstream_fail_timeout
509 syn keyword ngxDirectiveThirdParty memc_upstream_max_fails
510
511 " Mogilefs Module <http://www.grid.net.ru/nginx/mogilefs.en.html>
512 " Implements a MogileFS client, provides a replace to the Perlbal reverse proxy of the original MogileFS.
513 syn keyword ngxDirectiveThirdParty mogilefs_connect_timeout
514 syn keyword ngxDirectiveThirdParty mogilefs_domain
515 syn keyword ngxDirectiveThirdParty mogilefs_methods
516 syn keyword ngxDirectiveThirdParty mogilefs_noverify
517 syn keyword ngxDirectiveThirdParty mogilefs_pass
518 syn keyword ngxDirectiveThirdParty mogilefs_read_timeout
519 syn keyword ngxDirectiveThirdParty mogilefs_send_timeout
520 syn keyword ngxDirectiveThirdParty mogilefs_tracker
521
522 " MP4 Streaming Lite Module <http://wiki.nginx.org/NginxMP4StreamingLite>
523 " Will seek to a certain time within H.264/MP4 files when provided with a 'start' parameter in the URL.
524 syn keyword ngxDirectiveThirdParty mp4
525
526 " Nginx Notice Module <http://xph.us/software/nginx-notice/>
527 " Serve static file to POST requests.
528 syn keyword ngxDirectiveThirdParty notice
529 syn keyword ngxDirectiveThirdParty notice_type
530
531 " Phusion Passenger <http://www.modrails.com/documentation.html>
532 " Easy and robust deployment of Ruby on Rails application on Apache and Nginx webservers.
533 syn keyword ngxDirectiveThirdParty passenger_base_uri
534 syn keyword ngxDirectiveThirdParty passenger_default_user
535 syn keyword ngxDirectiveThirdParty passenger_enabled
536 syn keyword ngxDirectiveThirdParty passenger_log_level
537 syn keyword ngxDirectiveThirdParty passenger_max_instances_per_app
538 syn keyword ngxDirectiveThirdParty passenger_max_pool_size
539 syn keyword ngxDirectiveThirdParty passenger_pool_idle_time
540 syn keyword ngxDirectiveThirdParty passenger_root
541 syn keyword ngxDirectiveThirdParty passenger_ruby
542 syn keyword ngxDirectiveThirdParty passenger_use_global_queue
543 syn keyword ngxDirectiveThirdParty passenger_user_switching
544 syn keyword ngxDirectiveThirdParty rack_env
545 syn keyword ngxDirectiveThirdParty rails_app_spawner_idle_time
546 syn keyword ngxDirectiveThirdParty rails_env
547 syn keyword ngxDirectiveThirdParty rails_framework_spawner_idle_time
548 syn keyword ngxDirectiveThirdParty rails_spawn_method
549
550 " RDS JSON Module <http://github.com/agentzh/rds-json-nginx-module>
551 " Help ngx_drizzle and other DBD modules emit JSON data.
552 syn keyword ngxDirectiveThirdParty rds_json
553 syn keyword ngxDirectiveThirdParty rds_json_content_type
554 syn keyword ngxDirectiveThirdParty rds_json_format
555 syn keyword ngxDirectiveThirdParty rds_json_ret
556
557 " RRD Graph Module <http://wiki.nginx.org/NginxNgx_rrd_graph>
558 " This module provides an HTTP interface to RRDtool's graphing facilities.
559 syn keyword ngxDirectiveThirdParty rrd_graph
560 syn keyword ngxDirectiveThirdParty rrd_graph_root
561
562 " Secure Download <http://wiki.nginx.org/NginxHttpSecureDownload>
563 " Create expiring links.
564 syn keyword ngxDirectiveThirdParty secure_download
565 syn keyword ngxDirectiveThirdParty secure_download_fail_location
566 syn keyword ngxDirectiveThirdParty secure_download_path_mode
567 syn keyword ngxDirectiveThirdParty secure_download_secret
568
569 " SlowFS Cache Module <http://labs.frickle.com/nginx_ngx_slowfs_cache/>
570 " Module adding ability to cache static files.
571 syn keyword ngxDirectiveThirdParty slowfs_big_file_size
572 syn keyword ngxDirectiveThirdParty slowfs_cache
573 syn keyword ngxDirectiveThirdParty slowfs_cache_key
574 syn keyword ngxDirectiveThirdParty slowfs_cache_min_uses
575 syn keyword ngxDirectiveThirdParty slowfs_cache_path
576 syn keyword ngxDirectiveThirdParty slowfs_cache_purge
577 syn keyword ngxDirectiveThirdParty slowfs_cache_valid
578 syn keyword ngxDirectiveThirdParty slowfs_temp_path
579
580 " Strip Module <http://wiki.nginx.org/NginxHttpStripModule>
581 " Whitespace remover.
582 syn keyword ngxDirectiveThirdParty strip
583
584 " Substitutions Module <http://wiki.nginx.org/NginxHttpSubsModule>
585 " A filter module which can do both regular expression and fixed string substitutions on response bodies.
586 syn keyword ngxDirectiveThirdParty subs_filter
587 syn keyword ngxDirectiveThirdParty subs_filter_types
588
589 " Supervisord Module <http://labs.frickle.com/nginx_ngx_supervisord/>
590 " Module providing nginx with API to communicate with supervisord and manage (start/stop) backends on-demand.
591 syn keyword ngxDirectiveThirdParty supervisord
592 syn keyword ngxDirectiveThirdParty supervisord_inherit_backend_status
593 syn keyword ngxDirectiveThirdParty supervisord_name
594 syn keyword ngxDirectiveThirdParty supervisord_start
595 syn keyword ngxDirectiveThirdParty supervisord_stop
596
597 " Upload Module <http://www.grid.net.ru/nginx/upload.en.html>
598 " Parses multipart/form-data allowing arbitrary handling of uploaded files.
599 syn keyword ngxDirectiveThirdParty upload_aggregate_form_field
600 syn keyword ngxDirectiveThirdParty upload_buffer_size
601 syn keyword ngxDirectiveThirdParty upload_cleanup
602 syn keyword ngxDirectiveThirdParty upload_limit_rate
603 syn keyword ngxDirectiveThirdParty upload_max_file_size
604 syn keyword ngxDirectiveThirdParty upload_max_output_body_len
605 syn keyword ngxDirectiveThirdParty upload_max_part_header_len
606 syn keyword ngxDirectiveThirdParty upload_pass
607 syn keyword ngxDirectiveThirdParty upload_pass_args
608 syn keyword ngxDirectiveThirdParty upload_pass_form_field
609 syn keyword ngxDirectiveThirdParty upload_set_form_field
610 syn keyword ngxDirectiveThirdParty upload_store
611 syn keyword ngxDirectiveThirdParty upload_store_access
612
613 " Upload Progress Module <http://wiki.nginx.org/NginxHttpUploadProgressModule>
614 " Tracks and reports upload progress.
615 syn keyword ngxDirectiveThirdParty report_uploads
616 syn keyword ngxDirectiveThirdParty track_uploads
617 syn keyword ngxDirectiveThirdParty upload_progress
618 syn keyword ngxDirectiveThirdParty upload_progress_content_type
619 syn keyword ngxDirectiveThirdParty upload_progress_header
620 syn keyword ngxDirectiveThirdParty upload_progress_json_output
621 syn keyword ngxDirectiveThirdParty upload_progress_template
622
623 " Upstream Fair Balancer <http://wiki.nginx.org/NginxHttpUpstreamFairModule>
624 " Sends an incoming request to the least-busy backend server, rather than distributing requests round-robin.
625 syn keyword ngxDirectiveThirdParty fair
626 syn keyword ngxDirectiveThirdParty upstream_fair_shm_size
627
628 " Upstream Consistent Hash <http://wiki.nginx.org/NginxHttpUpstreamConsistentHash>
629 " Select backend based on Consistent hash ring.
630 syn keyword ngxDirectiveThirdParty consistent_hash
631
632 " Upstream Hash Module <http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule>
633 " Provides simple upstream load distribution by hashing a configurable variable.
634 syn keyword ngxDirectiveThirdParty hash
635 syn keyword ngxDirectiveThirdParty hash_again
636
637 " XSS Module <http://github.com/agentzh/xss-nginx-module>
638 " Native support for cross-site scripting (XSS) in an nginx.
639 syn keyword ngxDirectiveThirdParty xss_callback_arg
640 syn keyword ngxDirectiveThirdParty xss_get
641 syn keyword ngxDirectiveThirdParty xss_input_types
642 syn keyword ngxDirectiveThirdParty xss_output_type
643
644 " uWSGI Module <http://wiki.nginx.org/HttpUwsgiModule>
645 " Allows Nginx to interact with uWSGI processes and control what parameters are passed to the process.
646 syn keyword ngxDirectiveThirdParty uwsgi_bind
647 syn keyword ngxDirectiveThirdParty uwsgi_buffer_size
648 syn keyword ngxDirectiveThirdParty uwsgi_buffering
649 syn keyword ngxDirectiveThirdParty uwsgi_buffers
650 syn keyword ngxDirectiveThirdParty uwsgi_busy_buffers_size
651 syn keyword ngxDirectiveThirdParty uwsgi_cache
652 syn keyword ngxDirectiveThirdParty uwsgi_cache_bypass
653 syn keyword ngxDirectiveThirdParty uwsgi_cache_key
654 syn keyword ngxDirectiveThirdParty uwsgi_cache_lock
655 syn keyword ngxDirectiveThirdParty uwsgi_cache_lock_timeout
656 syn keyword ngxDirectiveThirdParty uwsgi_cache_methods
657 syn keyword ngxDirectiveThirdParty uwsgi_cache_min_uses
658 syn keyword ngxDirectiveThirdParty uwsgi_cache_path
659 syn keyword ngxDirectiveThirdParty uwsgi_cache_use_stale
660 syn keyword ngxDirectiveThirdParty uwsgi_cache_valid
661 syn keyword ngxDirectiveThirdParty uwsgi_connect_timeout
662 syn keyword ngxDirectiveThirdParty uwsgi_hide_header
663 syn keyword ngxDirectiveThirdParty uwsgi_ignore_client_abort
664 syn keyword ngxDirectiveThirdParty uwsgi_ignore_headers
665 syn keyword ngxDirectiveThirdParty uwsgi_intercept_errors
666 syn keyword ngxDirectiveThirdParty uwsgi_max_temp_file_size
667 syn keyword ngxDirectiveThirdParty uwsgi_modifier1
668 syn keyword ngxDirectiveThirdParty uwsgi_modifier2
669 syn keyword ngxDirectiveThirdParty uwsgi_next_upstream
670 syn keyword ngxDirectiveThirdParty uwsgi_no_cache
671 syn keyword ngxDirectiveThirdParty uwsgi_param
672 syn keyword ngxDirectiveThirdParty uwsgi_pass
673 syn keyword ngxDirectiveThirdParty uwsgi_pass_header
674 syn keyword ngxDirectiveThirdParty uwsgi_pass_request_body
675 syn keyword ngxDirectiveThirdParty uwsgi_pass_request_headers
676 syn keyword ngxDirectiveThirdParty uwsgi_read_timeout
677 syn keyword ngxDirectiveThirdParty uwsgi_send_timeout
678 syn keyword ngxDirectiveThirdParty uwsgi_store
679 syn keyword ngxDirectiveThirdParty uwsgi_store_access
680 syn keyword ngxDirectiveThirdParty uwsgi_string
681 syn keyword ngxDirectiveThirdParty uwsgi_temp_file_write_size
682 syn keyword ngxDirectiveThirdParty uwsgi_temp_path
683
684 " highlight
685
686 hi link ngxComment Comment
687 hi link ngxVariable Identifier
688 hi link ngxVariableBlock Identifier
689 hi link ngxVariableString PreProc
690 hi link ngxBlock Normal
691 hi link ngxString String
692
693 hi link ngxBoolean Boolean
694 hi link ngxDirectiveBlock Statement
695 hi link ngxDirectiveImportant Type
696 hi link ngxDirectiveControl Keyword
697 hi link ngxDirectiveError Constant
698 hi link ngxDirectiveDeprecated Error
699 hi link ngxDirective Identifier
700 hi link ngxDirectiveThirdParty Special
701
702 let b:current_syntax = "nginx"