Home
last modified time | relevance | path

Searched refs:acf (Results 1 – 7 of 7) sorted by relevance

/unit/src/
H A Dnxt_http_return.c36 nxt_http_action_conf_t *acf) in nxt_http_return_init() argument
52 conf->status = nxt_conf_get_number(acf->ret); in nxt_http_return_init()
54 if (acf->location == NULL) { in nxt_http_return_init()
58 nxt_conf_get_string(acf->location, &str); in nxt_http_return_init()
H A Dnxt_http_static.c75 nxt_http_action_t *action, nxt_http_action_conf_t *acf) in nxt_http_static_init() argument
104 cv = nxt_conf_get_array_element_or_itself(acf->share, i); in nxt_http_static_init()
116 if (acf->index == NULL) { in nxt_http_static_init()
127 if (acf->chroot.length > 0) { in nxt_http_static_init()
152 if (acf->follow_symlinks != NULL in nxt_http_static_init()
153 && !nxt_conf_get_boolean(acf->follow_symlinks)) in nxt_http_static_init()
158 if (acf->traverse_mounts != NULL in nxt_http_static_init()
159 && !nxt_conf_get_boolean(acf->traverse_mounts)) in nxt_http_static_init()
165 if (acf->types != NULL) { in nxt_http_static_init()
172 if (acf->fallback != NULL) { in nxt_http_static_init()
[all …]
H A Dnxt_http_rewrite.c13 nxt_http_action_conf_t *acf) in nxt_http_rewrite_init() argument
17 nxt_conf_get_string(acf->rewrite, &str); in nxt_http_rewrite_init()
H A Dnxt_http.h387 nxt_http_action_t *action, nxt_http_action_conf_t *acf);
391 nxt_http_action_t *action, nxt_http_action_conf_t *acf);
395 nxt_http_action_t *action, nxt_http_action_conf_t *acf);
398 nxt_http_action_t *action, nxt_http_action_conf_t *acf);
413 nxt_http_action_conf_t *acf);
H A Dnxt_http_set_headers.c19 nxt_http_action_conf_t *acf) in nxt_http_set_headers_init() argument
38 value = nxt_conf_next_object_member(acf->set_headers, &name, &next); in nxt_http_set_headers_init()
H A Dnxt_http_route.c657 nxt_http_action_conf_t acf; in nxt_http_action_init() local
659 nxt_memzero(&acf, sizeof(acf)); in nxt_http_action_init()
672 if (acf.rewrite != NULL) { in nxt_http_action_init()
673 ret = nxt_http_rewrite_init(rtcf, action, &acf); in nxt_http_action_init()
679 if (acf.set_headers != NULL) { in nxt_http_action_init()
686 if (acf.ret != NULL) { in nxt_http_action_init()
687 return nxt_http_return_init(rtcf, action, &acf); in nxt_http_action_init()
690 if (acf.share != NULL) { in nxt_http_action_init()
694 if (acf.proxy != NULL) { in nxt_http_action_init()
695 return nxt_http_proxy_init(mp, action, &acf); in nxt_http_action_init()
[all …]
H A Dnxt_http_proxy.c54 nxt_http_action_conf_t *acf) in nxt_http_proxy_init() argument
62 nxt_conf_get_string(acf->proxy, &name); in nxt_http_proxy_init()