Home
last modified time | relevance | path

Searched refs:loc_conf (Results 1 – 11 of 11) sorted by relevance

/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_config.h20 void **loc_conf; member
52 #define NGX_HTTP_LOC_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, loc_conf)
58 #define ngx_http_get_module_loc_conf(r, module) (r)->loc_conf[module.ctx_index]
66 ((ngx_http_conf_ctx_t *) cf->ctx)->loc_conf[module.ctx_index]
H A Dngx_http.c34 ngx_queue_t *locations, void **loc_conf, ngx_http_module_t *module,
176 if (ctx->loc_conf == NULL) { in ngx_http_block()
209 ctx->loc_conf[mi] = module->create_loc_conf(cf); in ngx_http_block()
210 if (ctx->loc_conf[mi] == NULL) { in ngx_http_block()
593 ctx->loc_conf = cscfp[s]->ctx->loc_conf; in ngx_http_merge_servers()
606 cscfp[s]->ctx->loc_conf, in ngx_http_merge_servers()
624 void **loc_conf, ngx_http_module_t *module, ngx_uint_t ctx_index) in ngx_http_merge_locations() argument
646 ctx->loc_conf = clcf->loc_conf; in ngx_http_merge_locations()
648 rv = module->merge_loc_conf(cf, loc_conf[ctx_index], in ngx_http_merge_locations()
649 clcf->loc_conf[ctx_index]); in ngx_http_merge_locations()
[all …]
H A Dngx_http_core_module.c1072 r->loc_conf = cscf->ctx->loc_conf; in ngx_http_core_post_rewrite_phase()
1359 r->loc_conf = (*clcfp)->loc_conf; in ngx_http_core_find_location()
1425 r->loc_conf = node->inclusive->loc_conf; in ngx_http_core_find_static_location()
1445 r->loc_conf = node->exact->loc_conf; in ngx_http_core_find_static_location()
1449 r->loc_conf = node->inclusive->loc_conf; in ngx_http_core_find_static_location()
2294 sr->loc_conf = cscf->ctx->loc_conf; in ngx_http_subrequest()
2391 sr->loc_conf = r->loc_conf; in ngx_http_subrequest()
2449 r->loc_conf = cscf->ctx->loc_conf; in ngx_http_internal_redirect()
2517 r->loc_conf = (*clcfp)->loc_conf; in ngx_http_named_location()
2910 clcf->loc_conf = ctx->loc_conf; in ngx_http_core_location()
[all …]
H A Dngx_http_script.h188 void **loc_conf; member
H A Dngx_http_request.h379 void **loc_conf; member
H A Dngx_http_core_module.h330 void **loc_conf; member
H A Dngx_http_script.c1431 if (code->loc_conf) { in ngx_http_script_if_code()
1432 e->request->loc_conf = code->loc_conf; in ngx_http_script_if_code()
H A Dngx_http_request.c569 r->loc_conf = hc->conf_ctx->loc_conf; in ngx_http_alloc_request()
2223 r->loc_conf = cscf->ctx->loc_conf; in ngx_http_set_virtual_server()
H A Dngx_http_upstream.c5749 ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); in ngx_http_upstream()
5750 if (ctx->loc_conf == NULL) { in ngx_http_upstream()
5776 ctx->loc_conf[cf->cycle->modules[m]->ctx_index] = mconf; in ngx_http_upstream()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_rewrite_module.c150 if (r->phase_handler == index && r->loc_conf == cscf->ctx->loc_conf) { in ngx_http_rewrite_handler()
550 ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); in ngx_http_rewrite_if()
551 if (ctx->loc_conf == NULL) { in ngx_http_rewrite_if()
569 ctx->loc_conf[cf->cycle->modules[i]->ctx_index] = mconf; in ngx_http_rewrite_if()
573 pclcf = pctx->loc_conf[ngx_http_core_module.ctx_index]; in ngx_http_rewrite_if()
575 clcf = ctx->loc_conf[ngx_http_core_module.ctx_index]; in ngx_http_rewrite_if()
576 clcf->loc_conf = ctx->loc_conf; in ngx_http_rewrite_if()
600 nlcf = ctx->loc_conf[ngx_http_rewrite_module.ctx_index]; in ngx_http_rewrite_if()
608 if_code->loc_conf = NULL; in ngx_http_rewrite_if()
612 if_code->loc_conf = ctx->loc_conf; in ngx_http_rewrite_if()
H A Dngx_http_ssl_module.c1125 clcf = cscfp[s]->ctx->loc_conf[ngx_http_core_module.ctx_index]; in ngx_http_ssl_init()