-
Notifications
You must be signed in to change notification settings - Fork 4
/
nginx.tmLanguage
283 lines (283 loc) · 11.8 KB
/
nginx.tmLanguage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>conf</string>
</array>
<key>foldingStartMarker</key>
<string>\{\s*$</string>
<key>foldingStopMarker</key>
<string>^\s*\}</string>
<key>keyEquivalent</key>
<string>^~N</string>
<key>name</key>
<string>nginx</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>\#.*</string>
<key>name</key>
<string>comment</string>
</dict>
<dict>
<key>match</key>
<string>[0-9]</string>
<key>name</key>
<string>constant.numeric</string>
</dict>
<dict>
<key>match</key>
<string>\{|\}</string>
<key>name</key>
<string>constant.character.brace</string>
</dict>
<dict>
<key>match</key>
<string>\;</string>
<key>name</key>
<string>constant.character.end</string>
</dict>
<dict>
<key>match</key>
<string>\(|\)</string>
<key>name</key>
<string>constant.character.paren</string>
</dict>
<dict>
<key>match</key>
<string>\"</string>
<key>name</key>
<string>constant.character.quote</string>
</dict>
<dict>
<key>match</key>
<string>\\.*\ |\~|\~\*|\!\~|\!\~\*</string>
<key>name</key>
<string>string.regexp</string>
</dict>
<dict>
<key>match</key>
<string>\"(.*)\"</string>
<key>name</key>
<string>string.quoted</string>
</dict>
<dict>
<key>match</key>
<string>\'(.*)\'</string>
<key>name</key>
<string>string.quoted</string>
</dict>
<dict>
<key>match</key>
<string>\b(events)\b</string>
<key>name</key>
<string>constant.language.module.events</string>
</dict>
<dict>
<key>match</key>
<string>\b^(http)\b</string>
<key>name</key>
<string>constant.language.module.http</string>
</dict>
<dict>
<key>match</key>
<string>\b(daemon|env|debug_points|error_log|include|lock_file|master_process|pid|ssl_engine|timer_resolution|user|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory)\b</string>
<key>name</key>
<string>constant.language.directive.module.main</string>
</dict>
<dict>
<key>match</key>
<string>\b(accept_mutex|accept_mutex_delay|debug_connection|devpoll_changes|devpoll_events|epoll_events|kqueue_changes|kqueue_events|multi_accept|rtsig_signo|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|use|worker_connections)\b</string>
<key>name</key>
<string>constant.language.directive.module.events</string>
</dict>
<dict>
<key>match</key>
<string>\b(aio|alias|chunked_transfer_encoding|client_body_in_file_only|client_body_in_single_buffer|client_body_buffer_size|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|default_type|directio|error_page|if_modified_since||internal|keepalive_disable|keepalive_timeout|keepalive_requests|large_client_header_buffers|limit_except|limit_rate|limit_rate_after|lingering_close|lingering_time|lingering_timeout|listen|location|log_not_found|log_subrequest|msie_padding|msie_refresh|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|optimize_server_names|port_in_redirect|post_action|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|root|satisfy|satisfy_any|send_timeout|sendfile|server|server_name|server_name_in_redirect|server_names_hash_max_size|server_names_hash_bucket_size|server_tokens|tcp_nodelay|tcp_nopush|try_files|types\ |underscores_in_hashes|variables_hash_bucket_size|variables_hash_max_size)\b</string>
<key>name</key>
<string>constant.language.directive.module.http</string>
</dict>
<dict>
<key>match</key>
<string>\b(allow|deny)\b</string>
<key>name</key>
<string>constant.language.module.http.access</string>
</dict>
<dict>
<key>match</key>
<string>\b(auth_basic|auth_basic_user_file)\b</string>
<key>name</key>
<string>constant.language.module.http.auth_basic</string>
</dict>
<dict>
<key>match</key>
<string>\b(autoindex|autoindex_exact_size|autoindex_localtime)\b</string>
<key>name</key>
<string>constant.language.module.http.autoindex</string>
</dict>
<dict>
<key>match</key>
<string>\b(ancient_browser|ancient_browser_value|modern_browser|modern_browser_value)\b</string>
<key>name</key>
<string>constant.language.module.http.browser</string>
</dict>
<dict>
<key>match</key>
<string>\b(charset|charset_map|override_charset|source_charset)\b</string>
<key>name</key>
<string>constant.language.module.http.charset</string>
</dict>
<dict>
<key>match</key>
<string>\b(empty_gif)\b</string>
<key>name</key>
<string>constant.language.module.http.empty_gif</string>
</dict>
<dict>
<key>match</key>
<string>\b(fastcgi_bind|fastcgi_buffer_size|fastcgi_buffers|fastcgi_cache|fastcgi_cache_key|fastcgi_cache_path|fastcgi_cache_methods|fastcgi_cache_min_uses|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_index|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_intercept_errors|fastcgi_max_temp_file_size|fastcgi_no_cache|fastcgi_next_upstream|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_pass_request_body|fastcgi_pass_request_headers|fastcgi_read_timeout|fastcgi_redirect_errors|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_path)\b</string>
<key>name</key>
<string>constant.language.module.http.fastcgi</string>
</dict>
<dict>
<key>match</key>
<string>\b(geo)\b</string>
<key>name</key>
<string>constant.language.module.http.geo</string>
</dict>
<dict>
<key>match</key>
<string>\b(gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_types|gzip_vary)\b</string>
<key>name</key>
<string>constant.language.module.http.gzip</string>
</dict>
<dict>
<key>match</key>
<string>\b(gzip_static|gzip_disable|gzip_http_version|gzip_proxied|gzip_vary)\b</string>
<key>name</key>
<string>constant.language.module.http.gzip_static</string>
</dict>
<dict>
<key>match</key>
<string>\b(add_header|expires)\b</string>
<key>name</key>
<string>constant.language.module.http.headers</string>
</dict>
<dict>
<key>match</key>
<string>\b(index)\b</string>
<key>name</key>
<string>constant.language.module.http.index</string>
</dict>
<dict>
<key>match</key>
<string>\b(limit_req_log_level|limit_req_zone|limit_req|)\b</string>
<key>name</key>
<string>constant.language.module.http.limit_req</string>
</dict>
<dict>
<key>match</key>
<string>\b(limit_zone|limit_conn|limit_conn_log_level)\b</string>
<key>name</key>
<string>constant.language.module.http.limit_zone</string>
</dict>
<dict>
<key>match</key>
<string>\b(limit_conn_zone|limit_conn|limit_conn_log_level)\b</string>
<key>name</key>
<string>constant.language.module.http.limit_conn</string>
</dict>
<dict>
<key>match</key>
<string>\b(access_log|log_format|open_log_file_cache)\b</string>
<key>name</key>
<string>constant.language.module.http.log</string>
</dict>
<dict>
<key>match</key>
<string>\b(map|map_hash_max_size|map_hash_bucket_size)\b</string>
<key>name</key>
<string>constant.language.module.http.map</string>
</dict>
<dict>
<key>match</key>
<string>\b(memcached_pass|memcached_connect_timeout|memcached_read_timeout|memcached_send_timeout|memcached_buffer_size|memcached_next_upstream)\b</string>
<key>name</key>
<string>constant.language.module.http.memcached</string>
</dict>
<dict>
<key>match</key>
<string>\b(proxy_bind|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_http_version|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_redirect|proxy_read_timeout|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|proxy_upstream_fail_timeout|proxy_upstream_max_fails)\b</string>
<key>name</key>
<string>constant.language.module.http.proxy</string>
</dict>
<dict>
<key>match</key>
<string>\b(valid_referers)\b</string>
<key>name</key>
<string>constant.language.module.http.referer</string>
</dict>
<dict>
<key>match</key>
<string>\b(break|if|return|rewrite|rewrite_log|set|uninitialized_variable_warn)\b</string>
<key>name</key>
<string>constant.language.module.http.rewrite</string>
</dict>
<dict>
<key>match</key>
<string>\b(scgi_bind|scgi_buffer_size|scgi_buffering|scgi_buffers|scgi_busy_buffers_size|scgi_cache|scgi_cache_bypass|scgi_cache_key|scgi_cache_methods|scgi_cache_min_uses|scgi_cache_path|scgi_cache_use_stale|scgi_cache_valid|scgi_connect_timeout|scgi_hide_header|scgi_ignore_client_abort|scgi_ignore_headers|scgi_intercept_errors|scgi_max_temp_file_size|scgi_next_upstream|scgi_no_cache|scgi_param|scgi_pass|scgi_pass_header|scgi_pass_request_body|scgi_pass_request_headers|scgi_read_timeout|scgi_send_timeout|scgi_store|scgi_store_access|scgi_temp_file_write_size|scgi_temp_path)\b</string>
<key>name</key>
<string>constant.language.module.http.scgi</string>
</dict>
<dict>
<key>match</key>
<string>\b(split_clients)\b</string>
<key>name</key>
<string>constant.language.module.http.split_clients</string>
</dict>
<dict>
<key>match</key>
<string>\b(ssi|ssi_silent_errors|ssi_types|ssi_value_length)\b</string>
<key>name</key>
<string>constant.language.module.http.ssi</string>
</dict>
<dict>
<key>match</key>
<string>\b(ssl|ssl_certificate|ssl_certificate_key|ssl_client_certificate|ssl_dhparam|ssl_ciphers|ssl_crl|ssl_prefer_server_ciphers|ssl_protocols|ssl_verify_client|ssl_verify_depth|ssl_session_cache|ssl_session_timeout|ssl_engine)\b</string>
<key>name</key>
<string>constant.language.module.http.ssl</string>
</dict>
<dict>
<key>match</key>
<string>\b(ip_hash|server|upstream)\b</string>
<key>name</key>
<string>constant.language.module.http.upstream</string>
</dict>
<dict>
<key>match</key>
<string>\b(userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service)\b</string>
<key>name</key>
<string>constant.language.module.http.userid</string>
</dict>
<dict>
<key>match</key>
<string>\b(uwsgi_bind|uwsgi_buffer_size|uwsgi_buffering|uwsgi_buffers|uwsgi_busy_buffers_size|uwsgi_cache|uwsgi_cache_bypass|uwsgi_cache_key|uwsgi_cache_methods|uwsgi_cache_min_uses|uwsgi_cache_path|uwsgi_cache_use_stale|uwsgi_cache_valid|uwsgi_connect_timeout|uwsgi_hide_header|uwsgi_ignore_client_abort|uwsgi_ignore_headers|uwsgi_intercept_errors|uwsgi_max_temp_file_size|uwsgi_modifier1|uwsgi_modifier2|uwsgi_next_upstream|uwsgi_no_cache|uwsgi_param|uwsgi_pass|uwsgi_pass_header|uwsgi_pass_request_body|uwsgi_pass_request_headers|uwsgi_read_timeout|uwsgi_send_timeout|uwsgi_store|uwsgi_store_access|uwsgi_string|uwsgi_temp_file_write_size|uwsgi_temp_path)\b</string>
<key>name</key>
<string>constant.language.module.http.uwsgi</string>
</dict>
<dict>
<key>match</key>
<string>\b(stub_status)\b</string>
<key>name</key>
<string>constant.language.module.http.stub_status</string>
</dict>
</array>
<key>scopeName</key>
<string>source.nginx</string>
<key>uuid</key>
<string>0C04066A-12D2-43CA-8238-00A12CE4C12D</string>
</dict>
</plist>