Mercurial > hg > nginx
comparison src/http/modules/ngx_http_uwsgi_module.c @ 3729:4b773fc06336
fix directive type
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 02 Aug 2010 12:47:52 +0000 |
parents | b0a0686a85bb |
children | 72cc5b789021 |
comparison
equal
deleted
inserted
replaced
3728:a29bb11f8c80 | 3729:4b773fc06336 |
---|---|
201 NULL }, | 201 NULL }, |
202 | 202 |
203 #if (NGX_HTTP_CACHE) | 203 #if (NGX_HTTP_CACHE) |
204 | 204 |
205 { ngx_string("uwsgi_cache"), | 205 { ngx_string("uwsgi_cache"), |
206 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, | 206 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, |
207 ngx_http_uwsgi_cache, | 207 ngx_http_uwsgi_cache, |
208 NGX_HTTP_LOC_CONF_OFFSET, | 208 NGX_HTTP_LOC_CONF_OFFSET, |
209 0, | 209 0, |
210 NULL }, | 210 NULL }, |
211 | 211 |
212 { ngx_string("uwsgi_cache_key"), | 212 { ngx_string("uwsgi_cache_key"), |
213 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, | 213 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, |
214 ngx_http_uwsgi_cache_key, | 214 ngx_http_uwsgi_cache_key, |
215 NGX_HTTP_LOC_CONF_OFFSET, | 215 NGX_HTTP_LOC_CONF_OFFSET, |
216 0, | 216 0, |
217 NULL }, | 217 NULL }, |
218 | 218 |
308 NGX_HTTP_LOC_CONF_OFFSET, | 308 NGX_HTTP_LOC_CONF_OFFSET, |
309 offsetof(ngx_http_uwsgi_loc_conf_t, uwsgi_string), | 309 offsetof(ngx_http_uwsgi_loc_conf_t, uwsgi_string), |
310 NULL }, | 310 NULL }, |
311 | 311 |
312 { ngx_string("uwsgi_pass_header"), | 312 { ngx_string("uwsgi_pass_header"), |
313 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, | 313 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, |
314 ngx_conf_set_str_array_slot, | 314 ngx_conf_set_str_array_slot, |
315 NGX_HTTP_LOC_CONF_OFFSET, | 315 NGX_HTTP_LOC_CONF_OFFSET, |
316 offsetof(ngx_http_uwsgi_loc_conf_t, upstream.pass_headers), | 316 offsetof(ngx_http_uwsgi_loc_conf_t, upstream.pass_headers), |
317 NULL }, | 317 NULL }, |
318 | 318 |
319 { ngx_string("uwsgi_hide_header"), | 319 { ngx_string("uwsgi_hide_header"), |
320 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, | 320 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, |
321 ngx_conf_set_str_array_slot, | 321 ngx_conf_set_str_array_slot, |
322 NGX_HTTP_LOC_CONF_OFFSET, | 322 NGX_HTTP_LOC_CONF_OFFSET, |
323 offsetof(ngx_http_uwsgi_loc_conf_t, upstream.hide_headers), | 323 offsetof(ngx_http_uwsgi_loc_conf_t, upstream.hide_headers), |
324 NULL }, | 324 NULL }, |
325 | 325 |