Klaus Demo nginx / 66a60a6
Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse. Sergey Budnevitch 10 years ago
4 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
435435 &ngx_http_upstream_ignore_headers_masks },
436436
437437 { ngx_string("fastcgi_catch_stderr"),
438 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
438 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
439439 ngx_conf_set_str_array_slot,
440440 NGX_HTTP_LOC_CONF_OFFSET,
441441 offsetof(ngx_http_fastcgi_loc_conf_t, catch_stderr),
138138 NULL },
139139
140140 { ngx_string("ssi_min_file_chunk"),
141 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
141 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
142142 ngx_conf_set_size_slot,
143143 NGX_HTTP_LOC_CONF_OFFSET,
144144 offsetof(ngx_http_ssi_loc_conf_t, min_file_chunk),
145145 NULL },
146146
147147 { ngx_string("ssi_value_length"),
148 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
148 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
149149 ngx_conf_set_size_slot,
150150 NGX_HTTP_LOC_CONF_OFFSET,
151151 offsetof(ngx_http_ssi_loc_conf_t, value_len),
100100 NULL },
101101
102102 { ngx_string("ssl_verify_client"),
103 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_FLAG,
103 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1,
104104 ngx_conf_set_enum_slot,
105105 NGX_HTTP_SRV_CONF_OFFSET,
106106 offsetof(ngx_http_ssl_srv_conf_t, verify),
5959 NULL },
6060
6161 { ngx_string("proxy_pass_error_message"),
62 NGX_MAIL_MAIN_CONF|NGX_MAIL_SRV_CONF|NGX_CONF_TAKE1,
62 NGX_MAIL_MAIN_CONF|NGX_MAIL_SRV_CONF|NGX_CONF_FLAG,
6363 ngx_conf_set_flag_slot,
6464 NGX_MAIL_SRV_CONF_OFFSET,
6565 offsetof(ngx_mail_proxy_conf_t, pass_error_message),