Home
last modified time | relevance | path

Searched refs:rlcf (Results 1 – 4 of 4) sorted by relevance

/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_referer_module.c122 ngx_http_referer_conf_t *rlcf; in ngx_http_referer_variable() local
132 && rlcf->hash.wc_head == NULL in ngx_http_referer_variable()
135 && rlcf->regex == NULL in ngx_http_referer_variable()
144 if (rlcf->no_referer) { in ngx_http_referer_variable()
169 if (rlcf->blocked_referer) { in ngx_http_referer_variable()
201 if (rlcf->server_name_regex) { in ngx_http_referer_variable()
219 if (rlcf->regex) { in ngx_http_referer_variable()
480 if (rlcf->keys == NULL) { in ngx_http_valid_referers()
482 if (rlcf->keys == NULL) { in ngx_http_valid_referers()
504 rlcf->no_referer = 1; in ngx_http_valid_referers()
[all …]
H A Dngx_http_realip_module.c142 ngx_http_realip_loc_conf_t *rlcf; in ngx_http_realip_handler() local
146 if (rlcf->from == NULL) { in ngx_http_realip_handler()
156 switch (rlcf->type) { in ngx_http_realip_handler()
198 hash = rlcf->hash; in ngx_http_realip_handler()
199 len = rlcf->header.len; in ngx_http_realip_handler()
200 p = rlcf->header.data; in ngx_http_realip_handler()
332 if (rlcf->from == NULL) { in ngx_http_realip_from()
335 if (rlcf->from == NULL) { in ngx_http_realip_from()
343 cidr = ngx_array_push(rlcf->from); in ngx_http_realip_from()
446 rlcf->type = NGX_HTTP_REALIP_HEADER; in ngx_http_realip()
[all …]
H A Dngx_http_rewrite_module.c144 ngx_http_rewrite_loc_conf_t *rlcf; in ngx_http_rewrite_handler() local
155 rlcf = ngx_http_get_module_loc_conf(r, ngx_http_rewrite_module); in ngx_http_rewrite_handler()
157 if (rlcf->codes == NULL) { in ngx_http_rewrite_handler()
167 rlcf->stack_size * sizeof(ngx_http_variable_value_t)); in ngx_http_rewrite_handler()
172 e->ip = rlcf->codes->elts; in ngx_http_rewrite_handler()
175 e->log = rlcf->log; in ngx_http_rewrite_handler()
193 ngx_http_rewrite_loc_conf_t *rlcf; in ngx_http_rewrite_var() local
195 rlcf = ngx_http_get_module_loc_conf(r, ngx_http_rewrite_module); in ngx_http_rewrite_var()
197 if (rlcf->uninitialized_variable_warn == 0) { in ngx_http_rewrite_var()
H A Dngx_http_random_index_module.c84 ngx_http_random_index_loc_conf_t *rlcf; in ngx_http_random_index_handler() local
94 rlcf = ngx_http_get_module_loc_conf(r, ngx_http_random_index_module); in ngx_http_random_index_handler()
96 if (!rlcf->enable) { in ngx_http_random_index_handler()