codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: nginx.conf3" Maintainer: Chris Aumann <me@chr4.org>4" Last Change: Jan 09, 20265 6if exists("b:current_syntax")7 finish8end9 10let b:current_syntax = "nginx"11 12syn match ngxVariable '\$\(\w\+\|{\w\+}\)'13syn match ngxVariableBlock '\$\(\w\+\|{\w\+}\)' contained14syn match ngxVariableString '\$\(\w\+\|{\w\+}\)' contained15syn region ngxBlock start=+^+ end=+{+ skip=+\${\|{{\|{%+ contains=ngxComment,ngxInteger,ngxIPaddr,ngxDirectiveBlock,ngxVariableBlock,ngxString,ngxThirdPartyLuaBlock oneline16syn region ngxString start=+[^:a-zA-Z>!\\@]\z(["']\)+lc=1 end=+\z1+ skip=+\\\\\|\\\z1+ contains=ngxVariableString,ngxSSLCipherInsecure17syn match ngxComment ' *#.*$'18 19" These regular expressions where taken (and adapted) from20" http://vim.1045645.n5.nabble.com/IPv6-support-for-quot-dns-quot-zonefile-syntax-highlighting-td1197292.html21syn 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 IPaddr33syn match ngxIPaddr '\s\zs\[::]'34syn match ngxIPaddr '\s\zs\*'35 36syn keyword ngxBoolean on37syn keyword ngxBoolean off38 39syn keyword ngxDirectiveBlock http contained40syn keyword ngxDirectiveBlock mail contained41syn keyword ngxDirectiveBlock events contained42syn keyword ngxDirectiveBlock server contained43syn keyword ngxDirectiveBlock match contained44syn keyword ngxDirectiveBlock types contained45syn keyword ngxDirectiveBlock location contained46syn keyword ngxDirectiveBlock upstream contained47syn keyword ngxDirectiveBlock charset_map contained48syn keyword ngxDirectiveBlock limit_except contained49syn keyword ngxDirectiveBlock if contained50syn keyword ngxDirectiveBlock geo contained51syn keyword ngxDirectiveBlock map contained52syn keyword ngxDirectiveBlock split_clients contained53 54syn keyword ngxDirectiveImportant include55syn keyword ngxDirectiveImportant root56syn keyword ngxDirectiveImportant server contained57syn region ngxDirectiveImportantServer matchgroup=ngxDirectiveImportant start=+^\s*\zsserver\ze\s.*;+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxUpstreamServerOptions,ngxString,ngxIPaddr,ngxBoolean,ngxInteger,ngxTemplateVar58syn keyword ngxDirectiveImportant server_name59syn keyword ngxDirectiveImportant listen contained60syn region ngxDirectiveImportantListen matchgroup=ngxDirectiveImportant start=+listen+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxListenOptions,ngxString,ngxIPaddr,ngxBoolean,ngxInteger,ngxTemplateVar61syn keyword ngxDirectiveImportant internal62syn keyword ngxDirectiveImportant proxy_pass63syn keyword ngxDirectiveImportant memcached_pass64syn keyword ngxDirectiveImportant fastcgi_pass65syn keyword ngxDirectiveImportant scgi_pass66syn keyword ngxDirectiveImportant uwsgi_pass67syn keyword ngxDirectiveImportant try_files68syn keyword ngxDirectiveImportant error_page69syn keyword ngxDirectiveImportant post_action70 71syn keyword ngxUpstreamServerOptions weight contained72syn keyword ngxUpstreamServerOptions max_conns contained73syn keyword ngxUpstreamServerOptions max_fails contained74syn keyword ngxUpstreamServerOptions fail_timeout contained75syn keyword ngxUpstreamServerOptions backup contained76syn keyword ngxUpstreamServerOptions down contained77syn keyword ngxUpstreamServerOptions resolve contained78syn keyword ngxUpstreamServerOptions route contained79syn keyword ngxUpstreamServerOptions service contained80syn keyword ngxUpstreamServerOptions default_server contained81syn keyword ngxUpstreamServerOptions slow_start contained82 83syn keyword ngxListenOptions default_server contained84syn keyword ngxListenOptions ssl contained85syn keyword ngxListenOptions http2 contained86syn keyword ngxListenOptions spdy contained87syn keyword ngxListenOptions http3 contained88syn keyword ngxListenOptions quic contained89syn keyword ngxListenOptions proxy_protocol contained90syn keyword ngxListenOptions setfib contained91syn keyword ngxListenOptions fastopen contained92syn keyword ngxListenOptions backlog contained93syn keyword ngxListenOptions rcvbuf contained94syn keyword ngxListenOptions sndbuf contained95syn keyword ngxListenOptions accept_filter contained96syn keyword ngxListenOptions deferred contained97syn keyword ngxListenOptions bind contained98syn keyword ngxListenOptions ipv6only contained99syn keyword ngxListenOptions reuseport contained100syn keyword ngxListenOptions so_keepalive contained101syn keyword ngxListenOptions keepidle contained102 103syn keyword ngxDirectiveControl break104syn keyword ngxDirectiveControl return105syn keyword ngxDirectiveControl rewrite106syn keyword ngxDirectiveControl set107 108syn keyword ngxDirectiveDeprecated connections109syn keyword ngxDirectiveDeprecated imap110syn keyword ngxDirectiveDeprecated limit_zone111syn keyword ngxDirectiveDeprecated mysql_test112syn keyword ngxDirectiveDeprecated open_file_cache_retest113syn keyword ngxDirectiveDeprecated optimize_server_names114syn keyword ngxDirectiveDeprecated satisfy_any115syn keyword ngxDirectiveDeprecated so_keepalive116 117syn keyword ngxDirective absolute_redirect118syn keyword ngxDirective accept_mutex119syn keyword ngxDirective accept_mutex_delay120syn keyword ngxDirective acceptex_read121syn keyword ngxDirective access_log122syn keyword ngxDirective add_after_body123syn keyword ngxDirective add_before_body124syn keyword ngxDirective add_header125syn keyword ngxDirective addition_types126syn keyword ngxDirective aio127syn keyword ngxDirective aio_write128syn keyword ngxDirective alias129syn keyword ngxDirective allow130syn keyword ngxDirective ancient_browser131syn keyword ngxDirective ancient_browser_value132syn keyword ngxDirective auth_basic133syn keyword ngxDirective auth_basic_user_file134syn keyword ngxDirective auth_http135syn keyword ngxDirective auth_http_header136syn keyword ngxDirective auth_http_pass_client_cert137syn keyword ngxDirective auth_http_timeout138syn keyword ngxDirective auth_jwt139syn keyword ngxDirective auth_jwt_key_file140syn keyword ngxDirective auth_request141syn keyword ngxDirective auth_request_set142syn keyword ngxDirective autoindex143syn keyword ngxDirective autoindex_exact_size144syn keyword ngxDirective autoindex_format145syn keyword ngxDirective autoindex_localtime146syn keyword ngxDirective charset147syn keyword ngxDirective charset_map148syn keyword ngxDirective charset_types149syn keyword ngxDirective chunked_transfer_encoding150syn keyword ngxDirective client_body_buffer_size151syn keyword ngxDirective client_body_in_file_only152syn keyword ngxDirective client_body_in_single_buffer153syn keyword ngxDirective client_body_temp_path154syn keyword ngxDirective client_body_timeout155syn keyword ngxDirective client_header_buffer_size156syn keyword ngxDirective client_header_timeout157syn keyword ngxDirective client_max_body_size158syn keyword ngxDirective connection_pool_size159syn keyword ngxDirective create_full_put_path160syn keyword ngxDirective daemon161syn keyword ngxDirective dav_access162syn keyword ngxDirective dav_methods163syn keyword ngxDirective debug_connection164syn keyword ngxDirective debug_points165syn keyword ngxDirective default_type166syn keyword ngxDirective degradation167syn keyword ngxDirective degrade168syn keyword ngxDirective deny169syn keyword ngxDirective devpoll_changes170syn keyword ngxDirective devpoll_events171syn keyword ngxDirective directio172syn keyword ngxDirective directio_alignment173syn keyword ngxDirective disable_symlinks174syn keyword ngxDirective empty_gif175syn keyword ngxDirective env176syn keyword ngxDirective epoll_events177syn keyword ngxDirective error_log178syn keyword ngxDirective etag179syn keyword ngxDirective eventport_events180syn keyword ngxDirective expires181syn keyword ngxDirective f4f182syn keyword ngxDirective f4f_buffer_size183syn keyword ngxDirective fastcgi_bind184syn keyword ngxDirective fastcgi_buffer_size185syn keyword ngxDirective fastcgi_buffering186syn keyword ngxDirective fastcgi_buffers187syn keyword ngxDirective fastcgi_busy_buffers_size188syn keyword ngxDirective fastcgi_cache189syn keyword ngxDirective fastcgi_cache_bypass190syn keyword ngxDirective fastcgi_cache_key191syn keyword ngxDirective fastcgi_cache_lock192syn keyword ngxDirective fastcgi_cache_lock_age193syn keyword ngxDirective fastcgi_cache_lock_timeout194syn keyword ngxDirective fastcgi_cache_max_range_offset195syn keyword ngxDirective fastcgi_cache_methods196syn keyword ngxDirective fastcgi_cache_min_uses197syn keyword ngxDirective fastcgi_cache_path198syn keyword ngxDirective fastcgi_cache_purge199syn keyword ngxDirective fastcgi_cache_revalidate200syn keyword ngxDirective fastcgi_cache_use_stale201syn keyword ngxDirective fastcgi_cache_valid202syn keyword ngxDirective fastcgi_catch_stderr203syn keyword ngxDirective fastcgi_connect_timeout204syn keyword ngxDirective fastcgi_force_ranges205syn keyword ngxDirective fastcgi_hide_header206syn keyword ngxDirective fastcgi_ignore_client_abort207syn keyword ngxDirective fastcgi_ignore_headers208syn keyword ngxDirective fastcgi_index209syn keyword ngxDirective fastcgi_intercept_errors210syn keyword ngxDirective fastcgi_keep_conn211syn keyword ngxDirective fastcgi_limit_rate212syn keyword ngxDirective fastcgi_max_temp_file_size213syn keyword ngxDirective fastcgi_next_upstream214syn keyword ngxDirective fastcgi_next_upstream_timeout215syn keyword ngxDirective fastcgi_next_upstream_tries216syn keyword ngxDirective fastcgi_no_cache217syn keyword ngxDirective fastcgi_param218syn keyword ngxDirective fastcgi_pass_header219syn keyword ngxDirective fastcgi_pass_request_body220syn keyword ngxDirective fastcgi_pass_request_headers221syn keyword ngxDirective fastcgi_read_timeout222syn keyword ngxDirective fastcgi_request_buffering223syn keyword ngxDirective fastcgi_send_lowat224syn keyword ngxDirective fastcgi_send_timeout225syn keyword ngxDirective fastcgi_split_path_info226syn keyword ngxDirective fastcgi_store227syn keyword ngxDirective fastcgi_store_access228syn keyword ngxDirective fastcgi_temp_file_write_size229syn keyword ngxDirective fastcgi_temp_path230syn keyword ngxDirective flv231syn keyword ngxDirective geoip_city232syn keyword ngxDirective geoip_country233syn keyword ngxDirective geoip_org234syn keyword ngxDirective geoip_proxy235syn keyword ngxDirective geoip_proxy_recursive236syn keyword ngxDirective google_perftools_profiles237syn keyword ngxDirective gunzip238syn keyword ngxDirective gunzip_buffers239syn keyword ngxDirective gzip nextgroup=ngxGzipOn,ngxGzipOff skipwhite240syn keyword ngxGzipOn on contained241syn keyword ngxGzipOff off contained242syn keyword ngxDirective gzip_buffers243syn keyword ngxDirective gzip_comp_level244syn keyword ngxDirective gzip_disable245syn keyword ngxDirective gzip_hash246syn keyword ngxDirective gzip_http_version247syn keyword ngxDirective gzip_min_length248syn keyword ngxDirective gzip_no_buffer249syn keyword ngxDirective gzip_proxied250syn keyword ngxDirective gzip_static251syn keyword ngxDirective gzip_types252syn keyword ngxDirective gzip_vary253syn keyword ngxDirective gzip_window254syn keyword ngxDirective hash255syn keyword ngxDirective health_check256syn keyword ngxDirective health_check_timeout257syn keyword ngxDirective hls258syn keyword ngxDirective hls_buffers259syn keyword ngxDirective hls_forward_args260syn keyword ngxDirective hls_fragment261syn keyword ngxDirective hls_mp4_buffer_size262syn keyword ngxDirective hls_mp4_max_buffer_size263syn keyword ngxDirective http2264syn keyword ngxDirective http2_chunk_size265syn keyword ngxDirective http2_body_preread_size266syn keyword ngxDirective http2_idle_timeout267syn keyword ngxDirective http2_max_concurrent_streams268syn keyword ngxDirective http2_max_field_size269syn keyword ngxDirective http2_max_header_size270syn keyword ngxDirective http2_max_requests271syn keyword ngxDirective http2_push272syn keyword ngxDirective http2_push_preload273syn keyword ngxDirective http2_recv_buffer_size274syn keyword ngxDirective http2_recv_timeout275syn keyword ngxDirective http3276syn keyword ngxDirective http3_hq277syn keyword ngxDirective http3_max_concurrent_pushes278syn keyword ngxDirective http3_max_concurrent_streams279syn keyword ngxDirective http3_push280syn keyword ngxDirective http3_push_preload281syn keyword ngxDirective http3_stream_buffer_size282syn keyword ngxDirective if_modified_since283syn keyword ngxDirective ignore_invalid_headers284syn keyword ngxDirective image_filter285syn keyword ngxDirective image_filter_buffer286syn keyword ngxDirective image_filter_interlace287syn keyword ngxDirective image_filter_jpeg_quality288syn keyword ngxDirective image_filter_sharpen289syn keyword ngxDirective image_filter_transparency290syn keyword ngxDirective image_filter_webp_quality291syn keyword ngxDirective imap_auth292syn keyword ngxDirective imap_capabilities293syn keyword ngxDirective imap_client_buffer294syn keyword ngxDirective index295syn keyword ngxDirective iocp_threads296syn keyword ngxDirective ip_hash297syn keyword ngxDirective js_access298syn keyword ngxDirective js_content299syn keyword ngxDirective js_filter300syn keyword ngxDirective js_include301syn keyword ngxDirective js_preread302syn keyword ngxDirective js_set303syn keyword ngxDirective keepalive304syn keyword ngxDirective keepalive_disable305syn keyword ngxDirective keepalive_requests306syn keyword ngxDirective keepalive_timeout307syn keyword ngxDirective kqueue_changes308syn keyword ngxDirective kqueue_events309syn keyword ngxDirective large_client_header_buffers310syn keyword ngxDirective least_conn311syn keyword ngxDirective least_time312syn keyword ngxDirective limit_conn313syn keyword ngxDirective limit_conn_dry_run314syn keyword ngxDirective limit_conn_log_level315syn keyword ngxDirective limit_conn_status316syn keyword ngxDirective limit_conn_zone317syn keyword ngxDirective limit_except318syn keyword ngxDirective limit_rate319syn keyword ngxDirective limit_rate_after320syn keyword ngxDirective limit_req321syn keyword ngxDirective limit_req_dry_run322syn keyword ngxDirective limit_req_log_level323syn keyword ngxDirective limit_req_status324syn keyword ngxDirective limit_req_zone325syn keyword ngxDirective lingering_close326syn keyword ngxDirective lingering_time327syn keyword ngxDirective lingering_timeout328syn keyword ngxDirective load_module329syn keyword ngxDirective lock_file330syn keyword ngxDirective log_format331syn keyword ngxDirective log_not_found332syn keyword ngxDirective log_subrequest333syn keyword ngxDirective map_hash_bucket_size334syn keyword ngxDirective map_hash_max_size335syn keyword ngxDirective master_process336syn keyword ngxDirective max_ranges337syn keyword ngxDirective memcached_bind338syn keyword ngxDirective memcached_buffer_size339syn keyword ngxDirective memcached_connect_timeout340syn keyword ngxDirective memcached_force_ranges341syn keyword ngxDirective memcached_gzip_flag342syn keyword ngxDirective memcached_next_upstream343syn keyword ngxDirective memcached_next_upstream_timeout344syn keyword ngxDirective memcached_next_upstream_tries345syn keyword ngxDirective memcached_read_timeout346syn keyword ngxDirective memcached_send_timeout347syn keyword ngxDirective merge_slashes348syn keyword ngxDirective min_delete_depth349syn keyword ngxDirective modern_browser350syn keyword ngxDirective modern_browser_value351syn keyword ngxDirective mp4352syn keyword ngxDirective mp4_buffer_size353syn keyword ngxDirective mp4_max_buffer_size354syn keyword ngxDirective mp4_limit_rate355syn keyword ngxDirective mp4_limit_rate_after356syn keyword ngxDirective msie_padding357syn keyword ngxDirective msie_refresh358syn keyword ngxDirective multi_accept359syn keyword ngxDirective ntlm360syn keyword ngxDirective open_file_cache361syn keyword ngxDirective open_file_cache_errors362syn keyword ngxDirective open_file_cache_events363syn keyword ngxDirective open_file_cache_min_uses364syn keyword ngxDirective open_file_cache_valid365syn keyword ngxDirective open_log_file_cache366syn keyword ngxDirective output_buffers367syn keyword ngxDirective override_charset368syn keyword ngxDirective pcre_jit369syn keyword ngxDirective perl370syn keyword ngxDirective perl_modules371syn keyword ngxDirective perl_require372syn keyword ngxDirective perl_set373syn keyword ngxDirective pid374syn keyword ngxDirective pop3_auth375syn keyword ngxDirective pop3_capabilities376syn keyword ngxDirective port_in_redirect377syn keyword ngxDirective post_acceptex378syn keyword ngxDirective postpone_gzipping379syn keyword ngxDirective postpone_output380syn keyword ngxDirective preread_buffer_size381syn keyword ngxDirective preread_timeout382syn keyword ngxDirective protocol nextgroup=ngxMailProtocol skipwhite383syn keyword ngxMailProtocol imap pop3 smtp contained384syn keyword ngxDirective proxy385syn keyword ngxDirective proxy_bind386syn keyword ngxDirective proxy_buffer387syn keyword ngxDirective proxy_buffer_size388syn keyword ngxDirective proxy_buffering389syn keyword ngxDirective proxy_buffers390syn keyword ngxDirective proxy_busy_buffers_size391syn keyword ngxDirective proxy_cache392syn keyword ngxDirective proxy_cache_bypass393syn keyword ngxDirective proxy_cache_convert_head394syn keyword ngxDirective proxy_cache_key395syn keyword ngxDirective proxy_cache_lock396syn keyword ngxDirective proxy_cache_lock_age397syn keyword ngxDirective proxy_cache_lock_timeout398syn keyword ngxDirective proxy_cache_max_range_offset399syn keyword ngxDirective proxy_cache_methods400syn keyword ngxDirective proxy_cache_min_uses401syn keyword ngxDirective proxy_cache_path402syn keyword ngxDirective proxy_cache_purge403syn keyword ngxDirective proxy_cache_revalidate404syn keyword ngxDirective proxy_cache_use_stale405syn keyword ngxDirective proxy_cache_valid406syn keyword ngxDirective proxy_connect_timeout407syn keyword ngxDirective proxy_cookie_domain408syn keyword ngxDirective proxy_cookie_path409syn keyword ngxDirective proxy_download_rate410syn keyword ngxDirective proxy_force_ranges411syn keyword ngxDirective proxy_headers_hash_bucket_size412syn keyword ngxDirective proxy_headers_hash_max_size413syn keyword ngxDirective proxy_hide_header414syn keyword ngxDirective proxy_http_version415syn keyword ngxDirective proxy_ignore_client_abort416syn keyword ngxDirective proxy_ignore_headers417syn keyword ngxDirective proxy_intercept_errors418syn keyword ngxDirective proxy_limit_rate419syn keyword ngxDirective proxy_max_temp_file_size420syn keyword ngxDirective proxy_method421syn keyword ngxDirective proxy_next_upstream contained422syn region ngxDirectiveProxyNextUpstream matchgroup=ngxDirective start=+^\s*\zsproxy_next_upstream\ze\s.*;+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxProxyNextUpstreamOptions,ngxString,ngxTemplateVar423syn keyword ngxDirective proxy_next_upstream_timeout424syn keyword ngxDirective proxy_next_upstream_tries425syn keyword ngxDirective proxy_no_cache426syn keyword ngxDirective proxy_pass_error_message427syn keyword ngxDirective proxy_pass_header428syn keyword ngxDirective proxy_pass_request_body429syn keyword ngxDirective proxy_pass_request_headers430syn keyword ngxDirective proxy_protocol431syn keyword ngxDirective proxy_protocol_timeout432syn keyword ngxDirective proxy_read_timeout433syn keyword ngxDirective proxy_redirect434syn keyword ngxDirective proxy_request_buffering435syn keyword ngxDirective proxy_responses436syn keyword ngxDirective proxy_send_lowat437syn keyword ngxDirective proxy_send_timeout438syn keyword ngxDirective proxy_set_body439syn keyword ngxDirective proxy_set_header440syn keyword ngxDirective proxy_ssl_certificate441syn keyword ngxDirective proxy_ssl_certificate_key442syn keyword ngxDirective proxy_ssl_ciphers443syn keyword ngxDirective proxy_ssl_crl444syn keyword ngxDirective proxy_ssl_name445syn keyword ngxDirective proxy_ssl_password_file446syn keyword ngxDirective proxy_ssl_protocols nextgroup=ngxSSLProtocol skipwhite447syn keyword ngxDirective proxy_ssl_server_name448syn keyword ngxDirective proxy_ssl_session_reuse449syn keyword ngxDirective proxy_ssl_trusted_certificate450syn keyword ngxDirective proxy_ssl_verify451syn keyword ngxDirective proxy_ssl_verify_depth452syn keyword ngxDirective proxy_store453syn keyword ngxDirective proxy_store_access454syn keyword ngxDirective proxy_temp_file_write_size455syn keyword ngxDirective proxy_temp_path456syn keyword ngxDirective proxy_timeout457syn keyword ngxDirective proxy_upload_rate458syn keyword ngxDirective queue459syn keyword ngxDirective quic_gso460syn keyword ngxDirective quic_host_key461syn keyword ngxDirective quic_mtu462syn keyword ngxDirective quic_retry463syn keyword ngxDirective random_index464syn keyword ngxDirective read_ahead465syn keyword ngxDirective real_ip_header466syn keyword ngxDirective real_ip_recursive467syn keyword ngxDirective recursive_error_pages468syn keyword ngxDirective referer_hash_bucket_size469syn keyword ngxDirective referer_hash_max_size470syn keyword ngxDirective request_pool_size471syn keyword ngxDirective reset_timedout_connection472syn keyword ngxDirective resolver473syn keyword ngxDirective resolver_timeout474syn keyword ngxDirective rewrite_log475syn keyword ngxDirective rtsig_overflow_events476syn keyword ngxDirective rtsig_overflow_test477syn keyword ngxDirective rtsig_overflow_threshold478syn keyword ngxDirective rtsig_signo479syn keyword ngxDirective satisfy480syn keyword ngxDirective scgi_bind481syn keyword ngxDirective scgi_buffer_size482syn keyword ngxDirective scgi_buffering483syn keyword ngxDirective scgi_buffers484syn keyword ngxDirective scgi_busy_buffers_size485syn keyword ngxDirective scgi_cache486syn keyword ngxDirective scgi_cache_bypass487syn keyword ngxDirective scgi_cache_key488syn keyword ngxDirective scgi_cache_lock489syn keyword ngxDirective scgi_cache_lock_age490syn keyword ngxDirective scgi_cache_lock_timeout491syn keyword ngxDirective scgi_cache_max_range_offset492syn keyword ngxDirective scgi_cache_methods493syn keyword ngxDirective scgi_cache_min_uses494syn keyword ngxDirective scgi_cache_path495syn keyword ngxDirective scgi_cache_purge496syn keyword ngxDirective scgi_cache_revalidate497syn keyword ngxDirective scgi_cache_use_stale498syn keyword ngxDirective scgi_cache_valid499syn keyword ngxDirective scgi_connect_timeout500syn keyword ngxDirective scgi_force_ranges501syn keyword ngxDirective scgi_hide_header502syn keyword ngxDirective scgi_ignore_client_abort503syn keyword ngxDirective scgi_ignore_headers504syn keyword ngxDirective scgi_intercept_errors505syn keyword ngxDirective scgi_limit_rate506syn keyword ngxDirective scgi_max_temp_file_size507syn keyword ngxDirective scgi_next_upstream508syn keyword ngxDirective scgi_next_upstream_timeout509syn keyword ngxDirective scgi_next_upstream_tries510syn keyword ngxDirective scgi_no_cache511syn keyword ngxDirective scgi_param512syn keyword ngxDirective scgi_pass_header513syn keyword ngxDirective scgi_pass_request_body514syn keyword ngxDirective scgi_pass_request_headers515syn keyword ngxDirective scgi_read_timeout516syn keyword ngxDirective scgi_request_buffering517syn keyword ngxDirective scgi_send_timeout518syn keyword ngxDirective scgi_store519syn keyword ngxDirective scgi_store_access520syn keyword ngxDirective scgi_temp_file_write_size521syn keyword ngxDirective scgi_temp_path522syn keyword ngxDirective secure_link523syn keyword ngxDirective secure_link_md5524syn keyword ngxDirective secure_link_secret525syn keyword ngxDirective send_lowat526syn keyword ngxDirective send_timeout527syn keyword ngxDirective sendfile528syn keyword ngxDirective sendfile_max_chunk529syn keyword ngxDirective server_name_in_redirect530syn keyword ngxDirective server_names_hash_bucket_size531syn keyword ngxDirective server_names_hash_max_size532syn keyword ngxDirective server_tokens533syn keyword ngxDirective session_log534syn keyword ngxDirective session_log_format535syn keyword ngxDirective session_log_zone536syn keyword ngxDirective set_real_ip_from537syn keyword ngxDirective slice538syn keyword ngxDirective smtp_auth539syn keyword ngxDirective smtp_capabilities540syn keyword ngxDirective smtp_client_buffer541syn keyword ngxDirective smtp_greeting_delay542syn keyword ngxDirective source_charset543syn keyword ngxDirective spdy_chunk_size544syn keyword ngxDirective spdy_headers_comp545syn keyword ngxDirective spdy_keepalive_timeout546syn keyword ngxDirective spdy_max_concurrent_streams547syn keyword ngxDirective spdy_pool_size548syn keyword ngxDirective spdy_recv_buffer_size549syn keyword ngxDirective spdy_recv_timeout550syn keyword ngxDirective spdy_streams_index_size551syn keyword ngxDirective ssi552syn keyword ngxDirective ssi_ignore_recycled_buffers553syn keyword ngxDirective ssi_last_modified554syn keyword ngxDirective ssi_min_file_chunk555syn keyword ngxDirective ssi_silent_errors556syn keyword ngxDirective ssi_types557syn keyword ngxDirective ssi_value_length558syn keyword ngxDirective ssl559syn keyword ngxDirective ssl_buffer_size560syn keyword ngxDirective ssl_certificate561syn keyword ngxDirective ssl_certificate_key562syn keyword ngxDirective ssl_ciphers563syn keyword ngxDirective ssl_client_certificate564syn keyword ngxDirective ssl_conf_command565syn keyword ngxDirective ssl_crl566syn keyword ngxDirective ssl_dhparam567syn keyword ngxDirective ssl_early_data568syn keyword ngxDirective ssl_ecdh_curve569syn keyword ngxDirective ssl_engine570syn keyword ngxDirective ssl_handshake_timeout571syn keyword ngxDirective ssl_password_file572syn keyword ngxDirective ssl_prefer_server_ciphers nextgroup=ngxSSLPreferServerCiphersOff,ngxSSLPreferServerCiphersOn skipwhite573syn keyword ngxSSLPreferServerCiphersOn on contained574syn keyword ngxSSLPreferServerCiphersOff off contained575syn keyword ngxDirective ssl_preread576syn keyword ngxDirective ssl_protocols nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite577syn keyword ngxDirective ssl_reject_handshake578syn match ngxSSLProtocol 'TLSv1' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite579syn match ngxSSLProtocol 'TLSv1\.1' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite580syn match ngxSSLProtocol 'TLSv1\.2' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite581syn match ngxSSLProtocol 'TLSv1\.3' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite582 583" Do not enable highlighting of insecure protocols if sslecure is loaded584if !exists('g:loaded_sslsecure')585 syn keyword ngxSSLProtocolDeprecated SSLv2 SSLv3 contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite586else587 syn match ngxSSLProtocol 'SSLv2' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite588 syn match ngxSSLProtocol 'SSLv3' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite589endif590 591syn keyword ngxDirective ssl_session_cache592syn keyword ngxDirective ssl_session_ticket_key593syn keyword ngxDirective ssl_session_tickets nextgroup=ngxSSLSessionTicketsOn,ngxSSLSessionTicketsOff skipwhite594syn keyword ngxSSLSessionTicketsOn on contained595syn keyword ngxSSLSessionTicketsOff off contained596syn keyword ngxDirective ssl_session_timeout597syn keyword ngxDirective ssl_stapling598syn keyword ngxDirective ssl_stapling_file599syn keyword ngxDirective ssl_stapling_responder600syn keyword ngxDirective ssl_stapling_verify601syn keyword ngxDirective ssl_trusted_certificate602syn keyword ngxDirective ssl_verify_client603syn keyword ngxDirective ssl_verify_depth604syn keyword ngxDirective starttls605syn keyword ngxDirective state606syn keyword ngxDirective status607syn keyword ngxDirective status_format608syn keyword ngxDirective status_zone609syn keyword ngxDirective sticky contained610syn keyword ngxDirective sticky_cookie_insert contained611syn region ngxDirectiveSticky matchgroup=ngxDirective start=+^\s*\zssticky\ze\s.*;+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxCookieOptions,ngxString,ngxBoolean,ngxInteger,ngxTemplateVar612syn keyword ngxDirective stub_status613syn keyword ngxDirective sub_filter614syn keyword ngxDirective sub_filter_last_modified615syn keyword ngxDirective sub_filter_once616syn keyword ngxDirective sub_filter_types617syn keyword ngxDirective tcp_nodelay618syn keyword ngxDirective tcp_nopush619syn keyword ngxDirective thread_pool620syn keyword ngxDirective thread_stack_size621syn keyword ngxDirective timeout622syn keyword ngxDirective timer_resolution623syn keyword ngxDirective types_hash_bucket_size624syn keyword ngxDirective types_hash_max_size625syn keyword ngxDirective underscores_in_headers626syn keyword ngxDirective uninitialized_variable_warn627syn keyword ngxDirective upstream_conf628syn keyword ngxDirective use629syn keyword ngxDirective user630syn keyword ngxDirective userid631syn keyword ngxDirective userid_domain632syn keyword ngxDirective userid_expires633syn keyword ngxDirective userid_mark634syn keyword ngxDirective userid_name635syn keyword ngxDirective userid_p3p636syn keyword ngxDirective userid_path637syn keyword ngxDirective userid_service638syn keyword ngxDirective uwsgi_bind639syn keyword ngxDirective uwsgi_buffer_size640syn keyword ngxDirective uwsgi_buffering641syn keyword ngxDirective uwsgi_buffers642syn keyword ngxDirective uwsgi_busy_buffers_size643syn keyword ngxDirective uwsgi_cache644syn keyword ngxDirective uwsgi_cache_background_update645syn keyword ngxDirective uwsgi_cache_bypass646syn keyword ngxDirective uwsgi_cache_key647syn keyword ngxDirective uwsgi_cache_lock648syn keyword ngxDirective uwsgi_cache_lock_age649syn keyword ngxDirective uwsgi_cache_lock_timeout650syn keyword ngxDirective uwsgi_cache_methods651syn keyword ngxDirective uwsgi_cache_min_uses652syn keyword ngxDirective uwsgi_cache_path653syn keyword ngxDirective uwsgi_cache_purge654syn keyword ngxDirective uwsgi_cache_revalidate655syn keyword ngxDirective uwsgi_cache_use_stale656syn keyword ngxDirective uwsgi_cache_valid657syn keyword ngxDirective uwsgi_connect_timeout658syn keyword ngxDirective uwsgi_force_ranges659syn keyword ngxDirective uwsgi_hide_header660syn keyword ngxDirective uwsgi_ignore_client_abort661syn keyword ngxDirective uwsgi_ignore_headers662syn keyword ngxDirective uwsgi_intercept_errors663syn keyword ngxDirective uwsgi_limit_rate664syn keyword ngxDirective uwsgi_max_temp_file_size665syn keyword ngxDirective uwsgi_modifier1666syn keyword ngxDirective uwsgi_modifier2667syn keyword ngxDirective uwsgi_next_upstream668syn keyword ngxDirective uwsgi_next_upstream_timeout669syn keyword ngxDirective uwsgi_next_upstream_tries670syn keyword ngxDirective uwsgi_no_cache671syn keyword ngxDirective uwsgi_param672syn keyword ngxDirective uwsgi_pass673syn keyword ngxDirective uwsgi_pass_header674syn keyword ngxDirective uwsgi_pass_request_body675syn keyword ngxDirective uwsgi_pass_request_headers676syn keyword ngxDirective uwsgi_read_timeout677syn keyword ngxDirective uwsgi_request_buffering678syn keyword ngxDirective uwsgi_send_timeout679syn keyword ngxDirective uwsgi_ssl_certificate680syn keyword ngxDirective uwsgi_ssl_certificate_key681syn keyword ngxDirective uwsgi_ssl_ciphers682syn keyword ngxDirective uwsgi_ssl_crl683syn keyword ngxDirective uwsgi_ssl_name684syn keyword ngxDirective uwsgi_ssl_password_file685syn keyword ngxDirective uwsgi_ssl_protocols nextgroup=ngxSSLProtocol skipwhite686syn keyword ngxDirective uwsgi_ssl_server_name687syn keyword ngxDirective uwsgi_ssl_session_reuse688syn keyword ngxDirective uwsgi_ssl_trusted_certificate689syn keyword ngxDirective uwsgi_ssl_verify690syn keyword ngxDirective uwsgi_ssl_verify_depth691syn keyword ngxDirective uwsgi_store692syn keyword ngxDirective uwsgi_store_access693syn keyword ngxDirective uwsgi_string694syn keyword ngxDirective uwsgi_temp_file_write_size695syn keyword ngxDirective uwsgi_temp_path696syn keyword ngxDirective valid_referers697syn keyword ngxDirective variables_hash_bucket_size698syn keyword ngxDirective variables_hash_max_size699syn keyword ngxDirective worker_aio_requests700syn keyword ngxDirective worker_connections701syn keyword ngxDirective worker_cpu_affinity702syn keyword ngxDirective worker_priority703syn keyword ngxDirective worker_processes704syn keyword ngxDirective worker_rlimit_core705syn keyword ngxDirective worker_rlimit_nofile706syn keyword ngxDirective worker_rlimit_sigpending707syn keyword ngxDirective worker_threads708syn keyword ngxDirective working_directory709syn keyword ngxDirective xclient710syn keyword ngxDirective xml_entities711syn keyword ngxDirective xslt_last_modified712syn keyword ngxDirective xslt_param713syn keyword ngxDirective xslt_string_param714syn keyword ngxDirective xslt_stylesheet715syn keyword ngxDirective xslt_types716syn keyword ngxDirective zone717 718" Do not enable highlighting of insecure ciphers if sslecure is loaded719if !exists('g:loaded_sslsecure')720 " Mark insecure SSL Ciphers (Note: List might not not complete)721 " Reference: https://www.openssl.org/docs/man1.0.2/apps/ciphers.html722 syn match ngxSSLCipherInsecure '[^!]\zsSSLv3'723 syn match ngxSSLCipherInsecure '[^!]\zsSSLv2'724 syn match ngxSSLCipherInsecure '[^!]\zsHIGH'725 syn match ngxSSLCipherInsecure '[^!]\zsMEDIUM'726 syn match ngxSSLCipherInsecure '[^!]\zsLOW'727 syn match ngxSSLCipherInsecure '[^!]\zsDEFAULT'728 syn match ngxSSLCipherInsecure '[^!]\zsCOMPLEMENTOFDEFAULT'729 syn match ngxSSLCipherInsecure '[^!]\zsALL'730 syn match ngxSSLCipherInsecure '[^!]\zsCOMPLEMENTOFALL'731 732 " SHA ciphers are only used in HMAC with all known OpenSSL/ LibreSSL cipher suites and MAC733 " usage is still considered safe734 " syn match ngxSSLCipherInsecure '[^!]\zsSHA\ze\D' " Match SHA1 without matching SHA256+735 " syn match ngxSSLCipherInsecure '[^!]\zsSHA1'736 syn match ngxSSLCipherInsecure '[^!]\zsMD5'737 syn match ngxSSLCipherInsecure '[^!]\zsRC2'738 syn match ngxSSLCipherInsecure '[^!]\zsRC4'739 syn match ngxSSLCipherInsecure '[^!]\zs3DES'740 syn match ngxSSLCipherInsecure '[^!3]\zsDES'741 syn match ngxSSLCipherInsecure '[^!]\zsaDSS'742 syn match ngxSSLCipherInsecure '[^!a]\zsDSS'743 syn match ngxSSLCipherInsecure '[^!]\zsPSK'744 syn match ngxSSLCipherInsecure '[^!]\zsIDEA'745 syn match ngxSSLCipherInsecure '[^!]\zsSEED'746 syn match ngxSSLCipherInsecure '[^!]\zsEXP\w*' " Match all EXPORT ciphers747 syn match ngxSSLCipherInsecure '[^!]\zsaGOST\w*' " Match all GOST ciphers748 syn match ngxSSLCipherInsecure '[^!]\zskGOST\w*'749 syn match ngxSSLCipherInsecure '[^!ak]\zsGOST\w*'750 syn match ngxSSLCipherInsecure '[^!]\zs[kae]\?FZA' " Not implemented751 syn match ngxSSLCipherInsecure '[^!]\zsECB'752 syn match ngxSSLCipherInsecure '[^!]\zs[aes]NULL'753 754 " Anonymous cipher suites should never be used755 syn match ngxSSLCipherInsecure '[^!ECa]\zsDH\ze[^E]' " Try to match DH without DHE, EDH, EECDH, etc.756 syn match ngxSSLCipherInsecure '[^!EA]\zsECDH\ze[^E]' " Do not match EECDH, ECDHE757 syn match ngxSSLCipherInsecure '[^!]\zsADH'758 syn match ngxSSLCipherInsecure '[^!]\zskDHE'759 syn match ngxSSLCipherInsecure '[^!]\zskEDH'760 syn match ngxSSLCipherInsecure '[^!]\zskECDHE'761 syn match ngxSSLCipherInsecure '[^!]\zskEECDH'762 syn match ngxSSLCipherInsecure '[^!E]\zsAECDH'763endif764 765syn keyword ngxProxyNextUpstreamOptions error contained766syn keyword ngxProxyNextUpstreamOptions timeout contained767syn keyword ngxProxyNextUpstreamOptions invalid_header contained768syn keyword ngxProxyNextUpstreamOptions http_500 contained769syn keyword ngxProxyNextUpstreamOptions http_502 contained770syn keyword ngxProxyNextUpstreamOptions http_503 contained771syn keyword ngxProxyNextUpstreamOptions http_504 contained772syn keyword ngxProxyNextUpstreamOptions http_403 contained773syn keyword ngxProxyNextUpstreamOptions http_404 contained774syn keyword ngxProxyNextUpstreamOptions http_429 contained775syn keyword ngxProxyNextUpstreamOptions non_idempotent contained776syn keyword ngxProxyNextUpstreamOptions off contained777 778syn keyword ngxStickyOptions cookie contained779syn region ngxStickyOptionsCookie matchgroup=ngxStickyOptions start=+^\s*\zssticky\s\s*cookie\ze\s.*;+ skip=+\\\\\|\\\;+ end=+;+he=e-1 contains=ngxCookieOptions,ngxString,ngxBoolean,ngxInteger,ngxTemplateVar780syn keyword ngxStickyOptions route contained781syn keyword ngxStickyOptions learn contained782 783syn keyword ngxCookieOptions expires contained784syn keyword ngxCookieOptions domain contained785syn keyword ngxCookieOptions httponly contained786syn keyword ngxCookieOptions secure contained787syn keyword ngxCookieOptions path contained788 789" 3rd party module list:790" https://www.nginx.com/resources/wiki/modules/791 792" Accept Language Module <https://www.nginx.com/resources/wiki/modules/accept_language/>793" Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.794syn keyword ngxDirectiveThirdParty set_from_accept_language795 796" Access Key Module (DEPRECATED) <http://wiki.nginx.org/NginxHttpAccessKeyModule>797" Denies access unless the request URL contains an access key.798syn keyword ngxDirectiveDeprecated accesskey799syn keyword ngxDirectiveDeprecated accesskey_arg800syn keyword ngxDirectiveDeprecated accesskey_hashmethod801syn keyword ngxDirectiveDeprecated accesskey_signature802 803" Asynchronous FastCGI Module <https://github.com/rsms/afcgi>804" Primarily a modified version of the Nginx FastCGI module which implements multiplexing of connections, allowing a single FastCGI server to handle many concurrent requests.805" syn keyword ngxDirectiveThirdParty fastcgi_bind806" syn keyword ngxDirectiveThirdParty fastcgi_buffer_size807" syn keyword ngxDirectiveThirdParty fastcgi_buffers808" syn keyword ngxDirectiveThirdParty fastcgi_busy_buffers_size809" syn keyword ngxDirectiveThirdParty fastcgi_cache810" syn keyword ngxDirectiveThirdParty fastcgi_cache_key811" syn keyword ngxDirectiveThirdParty fastcgi_cache_methods812" syn keyword ngxDirectiveThirdParty fastcgi_cache_min_uses813" syn keyword ngxDirectiveThirdParty fastcgi_cache_path814" syn keyword ngxDirectiveThirdParty fastcgi_cache_use_stale815" syn keyword ngxDirectiveThirdParty fastcgi_cache_valid816" syn keyword ngxDirectiveThirdParty fastcgi_catch_stderr817" syn keyword ngxDirectiveThirdParty fastcgi_connect_timeout818" syn keyword ngxDirectiveThirdParty fastcgi_hide_header819" syn keyword ngxDirectiveThirdParty fastcgi_ignore_client_abort820" syn keyword ngxDirectiveThirdParty fastcgi_ignore_headers821" syn keyword ngxDirectiveThirdParty fastcgi_index822" syn keyword ngxDirectiveThirdParty fastcgi_intercept_errors823" syn keyword ngxDirectiveThirdParty fastcgi_max_temp_file_size824" syn keyword ngxDirectiveThirdParty fastcgi_next_upstream825" syn keyword ngxDirectiveThirdParty fastcgi_param826" syn keyword ngxDirectiveThirdParty fastcgi_pass827" syn keyword ngxDirectiveThirdParty fastcgi_pass_header828" syn keyword ngxDirectiveThirdParty fastcgi_pass_request_body829" syn keyword ngxDirectiveThirdParty fastcgi_pass_request_headers830" syn keyword ngxDirectiveThirdParty fastcgi_read_timeout831" syn keyword ngxDirectiveThirdParty fastcgi_send_lowat832" syn keyword ngxDirectiveThirdParty fastcgi_send_timeout833" syn keyword ngxDirectiveThirdParty fastcgi_split_path_info834" syn keyword ngxDirectiveThirdParty fastcgi_store835" syn keyword ngxDirectiveThirdParty fastcgi_store_access836" syn keyword ngxDirectiveThirdParty fastcgi_temp_file_write_size837" syn keyword ngxDirectiveThirdParty fastcgi_temp_path838syn keyword ngxDirectiveDeprecated fastcgi_upstream_fail_timeout839syn keyword ngxDirectiveDeprecated fastcgi_upstream_max_fails840 841" Akamai G2O Module <https://github.com/kaltura/nginx_mod_akamai_g2o>842" Nginx Module for Authenticating Akamai G2O requests843syn keyword ngxDirectiveThirdParty g2o844syn keyword ngxDirectiveThirdParty g2o_nonce845syn keyword ngxDirectiveThirdParty g2o_key846 847" Lua Module <https://github.com/alacner/nginx_lua_module>848" You can be very simple to execute lua code for nginx849syn keyword ngxDirectiveThirdParty lua_file850 851" Array Variable Module <https://github.com/openresty/array-var-nginx-module>852" Add support for array-typed variables to nginx config files853syn keyword ngxDirectiveThirdParty array_split854syn keyword ngxDirectiveThirdParty array_join855syn keyword ngxDirectiveThirdParty array_map856syn keyword ngxDirectiveThirdParty array_map_op857 858" Nginx Audio Track for HTTP Live Streaming <https://github.com/flavioribeiro/nginx-audio-track-for-hls-module>859" This nginx module generates audio track for hls streams on the fly.860syn keyword ngxDirectiveThirdParty ngx_hls_audio_track861syn keyword ngxDirectiveThirdParty ngx_hls_audio_track_rootpath862syn keyword ngxDirectiveThirdParty ngx_hls_audio_track_output_format863syn keyword ngxDirectiveThirdParty ngx_hls_audio_track_output_header864 865" AWS Proxy Module <https://github.com/anomalizer/ngx_aws_auth>866" Nginx module to proxy to authenticated AWS services867syn keyword ngxDirectiveThirdParty aws_access_key868syn keyword ngxDirectiveThirdParty aws_key_scope869syn keyword ngxDirectiveThirdParty aws_signing_key870syn keyword ngxDirectiveThirdParty aws_endpoint871syn keyword ngxDirectiveThirdParty aws_s3_bucket872syn keyword ngxDirectiveThirdParty aws_sign873 874" Backtrace module <https://github.com/alibaba/nginx-backtrace>875" A Nginx module to dump backtrace when a worker process exits abnormally876syn keyword ngxDirectiveThirdParty backtrace_log877syn keyword ngxDirectiveThirdParty backtrace_max_stack_size878 879" Brotli Module <https://github.com/google/ngx_brotli>880" Nginx module for Brotli compression881syn keyword ngxDirectiveThirdParty brotli_static882syn keyword ngxDirectiveThirdParty brotli883syn keyword ngxDirectiveThirdParty brotli_types884syn keyword ngxDirectiveThirdParty brotli_buffers885syn keyword ngxDirectiveThirdParty brotli_comp_level886syn keyword ngxDirectiveThirdParty brotli_window887syn keyword ngxDirectiveThirdParty brotli_min_length888 889" Cache Purge Module <https://github.com/FRiCKLE/ngx_cache_purge>890" Adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches.891syn keyword ngxDirectiveThirdParty fastcgi_cache_purge892syn keyword ngxDirectiveThirdParty proxy_cache_purge893" syn keyword ngxDirectiveThirdParty scgi_cache_purge894" syn keyword ngxDirectiveThirdParty uwsgi_cache_purge895 896" Chunkin Module (DEPRECATED) <http://wiki.nginx.org/NginxHttpChunkinModule>897" HTTP 1.1 chunked-encoding request body support for Nginx.898syn keyword ngxDirectiveDeprecated chunkin899syn keyword ngxDirectiveDeprecated chunkin_keepalive900syn keyword ngxDirectiveDeprecated chunkin_max_chunks_per_buf901syn keyword ngxDirectiveDeprecated chunkin_resume902 903" Circle GIF Module <https://github.com/evanmiller/nginx_circle_gif>904" Generates simple circle images with the colors and size specified in the URL.905syn keyword ngxDirectiveThirdParty circle_gif906syn keyword ngxDirectiveThirdParty circle_gif_max_radius907syn keyword ngxDirectiveThirdParty circle_gif_min_radius908syn keyword ngxDirectiveThirdParty circle_gif_step_radius909 910" Nginx-Clojure Module <http://nginx-clojure.github.io/index.html>911" Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.912syn keyword ngxDirectiveThirdParty jvm_path913syn keyword ngxDirectiveThirdParty jvm_var914syn keyword ngxDirectiveThirdParty jvm_classpath915syn keyword ngxDirectiveThirdParty jvm_classpath_check916syn keyword ngxDirectiveThirdParty jvm_workers917syn keyword ngxDirectiveThirdParty jvm_options918syn keyword ngxDirectiveThirdParty jvm_handler_type919syn keyword ngxDirectiveThirdParty jvm_init_handler_name920syn keyword ngxDirectiveThirdParty jvm_init_handler_code921syn keyword ngxDirectiveThirdParty jvm_exit_handler_name922syn keyword ngxDirectiveThirdParty jvm_exit_handler_code923syn keyword ngxDirectiveThirdParty handlers_lazy_init924syn keyword ngxDirectiveThirdParty auto_upgrade_ws925syn keyword ngxDirectiveThirdParty content_handler_type926syn keyword ngxDirectiveThirdParty content_handler_name927syn keyword ngxDirectiveThirdParty content_handler_code928syn keyword ngxDirectiveThirdParty rewrite_handler_type929syn keyword ngxDirectiveThirdParty rewrite_handler_name930syn keyword ngxDirectiveThirdParty rewrite_handler_code931syn keyword ngxDirectiveThirdParty access_handler_type932syn keyword ngxDirectiveThirdParty access_handler_name933syn keyword ngxDirectiveThirdParty access_handler_code934syn keyword ngxDirectiveThirdParty header_filter_type935syn keyword ngxDirectiveThirdParty header_filter_name936syn keyword ngxDirectiveThirdParty header_filter_code937syn keyword ngxDirectiveThirdParty content_handler_property938syn keyword ngxDirectiveThirdParty rewrite_handler_property939syn keyword ngxDirectiveThirdParty access_handler_property940syn keyword ngxDirectiveThirdParty header_filter_property941syn keyword ngxDirectiveThirdParty always_read_body942syn keyword ngxDirectiveThirdParty shared_map943syn keyword ngxDirectiveThirdParty write_page_size944 945" Upstream Consistent Hash <https://www.nginx.com/resources/wiki/modules/consistent_hash/>946" A load balancer that uses an internal consistent hash ring to select the right backend node.947syn keyword ngxDirectiveThirdParty consistent_hash948 949" Nginx Development Kit <https://github.com/simpl/ngx_devel_kit>950" 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.951" NDK_UPSTREAM_LIST952" 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.953syn keyword ngxDirectiveThirdParty upstream_list954 955" Drizzle Module <https://www.nginx.com/resources/wiki/modules/drizzle/>956" Upstream module for talking to MySQL and Drizzle directly957syn keyword ngxDirectiveThirdParty drizzle_server958syn keyword ngxDirectiveThirdParty drizzle_keepalive959syn keyword ngxDirectiveThirdParty drizzle_query960syn keyword ngxDirectiveThirdParty drizzle_pass961syn keyword ngxDirectiveThirdParty drizzle_connect_timeout962syn keyword ngxDirectiveThirdParty drizzle_send_query_timeout963syn keyword ngxDirectiveThirdParty drizzle_recv_cols_timeout964syn keyword ngxDirectiveThirdParty drizzle_recv_rows_timeout965syn keyword ngxDirectiveThirdParty drizzle_buffer_size966syn keyword ngxDirectiveThirdParty drizzle_module_header967syn keyword ngxDirectiveThirdParty drizzle_status968 969" Dynamic ETags Module <https://github.com/kali/nginx-dynamic-etags>970" Attempt at handling ETag / If-None-Match on proxied content.971syn keyword ngxDirectiveThirdParty dynamic_etags972 973" Echo Module <https://www.nginx.com/resources/wiki/modules/echo/>974" Bringing the power of "echo", "sleep", "time" and more to Nginx's config file975syn keyword ngxDirectiveThirdParty echo976syn keyword ngxDirectiveThirdParty echo_duplicate977syn keyword ngxDirectiveThirdParty echo_flush978syn keyword ngxDirectiveThirdParty echo_sleep979syn keyword ngxDirectiveThirdParty echo_blocking_sleep980syn keyword ngxDirectiveThirdParty echo_reset_timer981syn keyword ngxDirectiveThirdParty echo_read_request_body982syn keyword ngxDirectiveThirdParty echo_location_async983syn keyword ngxDirectiveThirdParty echo_location984syn keyword ngxDirectiveThirdParty echo_subrequest_async985syn keyword ngxDirectiveThirdParty echo_subrequest986syn keyword ngxDirectiveThirdParty echo_foreach_split987syn keyword ngxDirectiveThirdParty echo_end988syn keyword ngxDirectiveThirdParty echo_request_body989syn keyword ngxDirectiveThirdParty echo_exec990syn keyword ngxDirectiveThirdParty echo_status991syn keyword ngxDirectiveThirdParty echo_before_body992syn keyword ngxDirectiveThirdParty echo_after_body993 994" Encrypted Session Module <https://github.com/openresty/encrypted-session-nginx-module>995" Encrypt and decrypt nginx variable values996syn keyword ngxDirectiveThirdParty encrypted_session_key997syn keyword ngxDirectiveThirdParty encrypted_session_iv998syn keyword ngxDirectiveThirdParty encrypted_session_expires999syn keyword ngxDirectiveThirdParty set_encrypt_session1000syn keyword ngxDirectiveThirdParty set_decrypt_session1001 1002" Enhanced Memcached Module <https://github.com/bpaquet/ngx_http_enhanced_memcached_module>1003" This module is based on the standard Nginx Memcached module, with some additonal features1004syn keyword ngxDirectiveThirdParty enhanced_memcached_pass1005syn keyword ngxDirectiveThirdParty enhanced_memcached_hash_keys_with_md51006syn keyword ngxDirectiveThirdParty enhanced_memcached_allow_put1007syn keyword ngxDirectiveThirdParty enhanced_memcached_allow_delete1008syn keyword ngxDirectiveThirdParty enhanced_memcached_stats1009syn keyword ngxDirectiveThirdParty enhanced_memcached_flush1010syn keyword ngxDirectiveThirdParty enhanced_memcached_flush_namespace1011syn keyword ngxDirectiveThirdParty enhanced_memcached_bind1012syn keyword ngxDirectiveThirdParty enhanced_memcached_connect_timeout1013syn keyword ngxDirectiveThirdParty enhanced_memcached_send_timeout1014syn keyword ngxDirectiveThirdParty enhanced_memcached_buffer_size1015syn keyword ngxDirectiveThirdParty enhanced_memcached_read_timeout1016 1017" Events Module (DEPRECATED) <http://docs.dutov.org/nginx_modules_events_en.html>1018" Provides options for start/stop events.1019syn keyword ngxDirectiveDeprecated on_start1020syn keyword ngxDirectiveDeprecated on_stop1021 1022" EY Balancer Module <https://github.com/ezmobius/nginx-ey-balancer>1023" Adds a request queue to Nginx that allows the limiting of concurrent requests passed to the upstream.1024syn keyword ngxDirectiveThirdParty max_connections1025syn keyword ngxDirectiveThirdParty max_connections_max_queue_length1026syn keyword ngxDirectiveThirdParty max_connections_queue_timeout1027 1028" Upstream Fair Balancer <https://www.nginx.com/resources/wiki/modules/fair_balancer/>1029" Sends an incoming request to the least-busy backend server, rather than distributing requests round-robin.1030syn keyword ngxDirectiveThirdParty fair1031syn keyword ngxDirectiveThirdParty upstream_fair_shm_size1032 1033" Fancy Indexes Module <https://github.com/aperezdc/ngx-fancyindex>1034" Like the built-in autoindex module, but fancier.1035syn keyword ngxDirectiveThirdParty fancyindex1036syn keyword ngxDirectiveThirdParty fancyindex_default_sort1037syn keyword ngxDirectiveThirdParty fancyindex_directories_first1038syn keyword ngxDirectiveThirdParty fancyindex_css_href1039syn keyword ngxDirectiveThirdParty fancyindex_exact_size1040syn keyword ngxDirectiveThirdParty fancyindex_name_length1041syn keyword ngxDirectiveThirdParty fancyindex_footer1042syn keyword ngxDirectiveThirdParty fancyindex_header1043syn keyword ngxDirectiveThirdParty fancyindex_show_path1044syn keyword ngxDirectiveThirdParty fancyindex_ignore1045syn keyword ngxDirectiveThirdParty fancyindex_hide_symlinks1046syn keyword ngxDirectiveThirdParty fancyindex_localtime1047syn keyword ngxDirectiveThirdParty fancyindex_time_format1048 1049" Form Auth Module <https://github.com/veruu/ngx_form_auth>1050" Provides authentication and authorization with credentials submitted via POST request1051syn keyword ngxDirectiveThirdParty form_auth1052syn keyword ngxDirectiveThirdParty form_auth_pam_service1053syn keyword ngxDirectiveThirdParty form_auth_login1054syn keyword ngxDirectiveThirdParty form_auth_password1055syn keyword ngxDirectiveThirdParty form_auth_remote_user1056 1057" Form Input Module <https://github.com/calio/form-input-nginx-module>1058" Reads HTTP POST and PUT request body encoded in "application/x-www-form-urlencoded" and parses the arguments into nginx variables.1059syn keyword ngxDirectiveThirdParty set_form_input1060syn keyword ngxDirectiveThirdParty set_form_input_multi1061 1062" GeoIP Module (DEPRECATED) <http://wiki.nginx.org/NginxHttp3rdPartyGeoIPModule>1063" Country code lookups via the MaxMind GeoIP API.1064syn keyword ngxDirectiveDeprecated geoip_country_file1065 1066" GeoIP 2 Module <https://github.com/leev/ngx_http_geoip2_module>1067" Creates variables with values from the maxmind geoip2 databases based on the client IP1068syn keyword ngxDirectiveThirdParty geoip21069 1070" GridFS Module <https://github.com/mdirolf/nginx-gridfs>1071" Nginx module for serving files from MongoDB's GridFS1072syn keyword ngxDirectiveThirdParty gridfs1073 1074" Headers More Module <https://github.com/openresty/headers-more-nginx-module>1075" Set and clear input and output headers...more than "add"!1076syn keyword ngxDirectiveThirdParty more_clear_headers1077syn keyword ngxDirectiveThirdParty more_clear_input_headers1078syn keyword ngxDirectiveThirdParty more_set_headers1079syn keyword ngxDirectiveThirdParty more_set_input_headers1080 1081" Health Checks Upstreams Module <https://www.nginx.com/resources/wiki/modules/healthcheck/>1082" Polls backends and if they respond with HTTP 200 + an optional request body, they are marked good. Otherwise, they are marked bad.1083syn keyword ngxDirectiveThirdParty healthcheck_enabled1084syn keyword ngxDirectiveThirdParty healthcheck_delay1085syn keyword ngxDirectiveThirdParty healthcheck_timeout1086syn keyword ngxDirectiveThirdParty healthcheck_failcount1087syn keyword ngxDirectiveThirdParty healthcheck_send1088syn keyword ngxDirectiveThirdParty healthcheck_expected1089syn keyword ngxDirectiveThirdParty healthcheck_buffer1090syn keyword ngxDirectiveThirdParty healthcheck_status1091 1092" HTTP Accounting Module <https://github.com/Lax/ngx_http_accounting_module>1093" Add traffic stat function to nginx. Useful for http accounting based on nginx configuration logic1094syn keyword ngxDirectiveThirdParty http_accounting1095syn keyword ngxDirectiveThirdParty http_accounting_log1096syn keyword ngxDirectiveThirdParty http_accounting_id1097syn keyword ngxDirectiveThirdParty http_accounting_interval1098syn keyword ngxDirectiveThirdParty http_accounting_perturb1099 1100" Nginx Digest Authentication module <https://github.com/atomx/nginx-http-auth-digest>1101" Digest Authentication for Nginx1102syn keyword ngxDirectiveThirdParty auth_digest1103syn keyword ngxDirectiveThirdParty auth_digest_user_file1104syn keyword ngxDirectiveThirdParty auth_digest_timeout1105syn keyword ngxDirectiveThirdParty auth_digest_expires1106syn keyword ngxDirectiveThirdParty auth_digest_replays1107syn keyword ngxDirectiveThirdParty auth_digest_shm_size1108 1109" Auth PAM Module <https://github.com/sto/ngx_http_auth_pam_module>1110" HTTP Basic Authentication using PAM.1111syn keyword ngxDirectiveThirdParty auth_pam1112syn keyword ngxDirectiveThirdParty auth_pam_service_name1113 1114" HTTP Auth Request Module <http://nginx.org/en/docs/http/ngx_http_auth_request_module.html>1115" Implements client authorization based on the result of a subrequest1116" syn keyword ngxDirectiveThirdParty auth_request1117" syn keyword ngxDirectiveThirdParty auth_request_set1118 1119" HTTP Concatenation module for Nginx <https://github.com/alibaba/nginx-http-concat>1120" A Nginx module for concatenating files in a given context: CSS and JS files usually1121syn keyword ngxDirectiveThirdParty concat1122syn keyword ngxDirectiveThirdParty concat_types1123syn keyword ngxDirectiveThirdParty concat_unique1124syn keyword ngxDirectiveThirdParty concat_max_files1125syn keyword ngxDirectiveThirdParty concat_delimiter1126syn keyword ngxDirectiveThirdParty concat_ignore_file_error1127 1128" HTTP Dynamic Upstream Module <https://github.com/yzprofile/ngx_http_dyups_module>1129" Update upstreams' config by restful interface1130syn keyword ngxDirectiveThirdParty dyups_interface1131syn keyword ngxDirectiveThirdParty dyups_read_msg_timeout1132syn keyword ngxDirectiveThirdParty dyups_shm_zone_size1133syn keyword ngxDirectiveThirdParty dyups_upstream_conf1134syn keyword ngxDirectiveThirdParty dyups_trylock1135 1136" HTTP Footer If Filter Module <https://github.com/flygoast/ngx_http_footer_if_filter>1137" The ngx_http_footer_if_filter_module is used to add given content to the end of the response according to the condition specified.1138syn keyword ngxDirectiveThirdParty footer_if1139 1140" HTTP Footer Filter Module <https://github.com/alibaba/nginx-http-footer-filter>1141" This module implements a body filter that adds a given string to the page footer.1142syn keyword ngxDirectiveThirdParty footer1143syn keyword ngxDirectiveThirdParty footer_types1144 1145" HTTP Internal Redirect Module <https://github.com/flygoast/ngx_http_internal_redirect>1146" Make an internal redirect to the uri specified according to the condition specified.1147syn keyword ngxDirectiveThirdParty internal_redirect_if1148syn keyword ngxDirectiveThirdParty internal_redirect_if_no_postponed1149 1150" HTTP JavaScript Module <https://github.com/peter-leonov/ngx_http_js_module>1151" Embedding SpiderMonkey. Nearly full port on Perl module.1152syn keyword ngxDirectiveThirdParty js1153syn keyword ngxDirectiveThirdParty js_filter1154syn keyword ngxDirectiveThirdParty js_filter_types1155syn keyword ngxDirectiveThirdParty js_load1156syn keyword ngxDirectiveThirdParty js_maxmem1157syn keyword ngxDirectiveThirdParty js_require1158syn keyword ngxDirectiveThirdParty js_set1159syn keyword ngxDirectiveThirdParty js_utf81160 1161" HTTP Push Module (DEPRECATED) <http://pushmodule.slact.net/>1162" Turn Nginx into an adept long-polling HTTP Push (Comet) server.1163syn keyword ngxDirectiveDeprecated push_buffer_size1164syn keyword ngxDirectiveDeprecated push_listener1165syn keyword ngxDirectiveDeprecated push_message_timeout1166syn keyword ngxDirectiveDeprecated push_queue_messages1167syn keyword ngxDirectiveDeprecated push_sender1168 1169" HTTP Redis Module <https://www.nginx.com/resources/wiki/modules/redis/>1170" Redis <http://code.google.com/p/redis/> support.1171syn keyword ngxDirectiveThirdParty redis_bind1172syn keyword ngxDirectiveThirdParty redis_buffer_size1173syn keyword ngxDirectiveThirdParty redis_connect_timeout1174syn keyword ngxDirectiveThirdParty redis_next_upstream1175syn keyword ngxDirectiveThirdParty redis_pass1176syn keyword ngxDirectiveThirdParty redis_read_timeout1177syn keyword ngxDirectiveThirdParty redis_send_timeout1178 1179" Iconv Module <https://github.com/calio/iconv-nginx-module>1180" A character conversion nginx module using libiconv1181syn keyword ngxDirectiveThirdParty set_iconv1182syn keyword ngxDirectiveThirdParty iconv_buffer_size1183syn keyword ngxDirectiveThirdParty iconv_filter1184 1185" IP Blocker Module <https://github.com/tmthrgd/nginx-ip-blocker>1186" An efficient shared memory IP blocking system for nginx.1187syn keyword ngxDirectiveThirdParty ip_blocker1188 1189" IP2Location Module <https://github.com/chrislim2888/ip2location-nginx>1190" Allows user to lookup for geolocation information using IP2Location database1191syn keyword ngxDirectiveThirdParty ip2location_database1192 1193" JS Module <https://github.com/peter-leonov/ngx_http_js_module>1194" Reflect the nginx functionality in JS1195syn keyword ngxDirectiveThirdParty js1196syn keyword ngxDirectiveThirdParty js_access1197syn keyword ngxDirectiveThirdParty js_load1198syn keyword ngxDirectiveThirdParty js_set1199 1200" Limit Upload Rate Module <https://github.com/cfsego/limit_upload_rate>