mirror of
https://github.com/nginx/nginx.git
synced 2024-12-23 15:40:03 -06:00
fix typo
This commit is contained in:
parent
d741a7f827
commit
bd375b9566
@ -242,7 +242,7 @@ static ngx_command_t ngx_http_fastcgi_commands[] = {
|
|||||||
|
|
||||||
{ ngx_string("fastcgi_bind"),
|
{ ngx_string("fastcgi_bind"),
|
||||||
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
|
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
|
||||||
ngx_http_upsteam_bind_set_slot,
|
ngx_http_upstream_bind_set_slot,
|
||||||
NGX_HTTP_LOC_CONF_OFFSET,
|
NGX_HTTP_LOC_CONF_OFFSET,
|
||||||
offsetof(ngx_http_fastcgi_loc_conf_t, upstream.local),
|
offsetof(ngx_http_fastcgi_loc_conf_t, upstream.local),
|
||||||
NULL },
|
NULL },
|
||||||
|
@ -65,7 +65,7 @@ static ngx_command_t ngx_http_memcached_commands[] = {
|
|||||||
|
|
||||||
{ ngx_string("memcached_bind"),
|
{ ngx_string("memcached_bind"),
|
||||||
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
|
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
|
||||||
ngx_http_upsteam_bind_set_slot,
|
ngx_http_upstream_bind_set_slot,
|
||||||
NGX_HTTP_LOC_CONF_OFFSET,
|
NGX_HTTP_LOC_CONF_OFFSET,
|
||||||
offsetof(ngx_http_memcached_loc_conf_t, upstream.local),
|
offsetof(ngx_http_memcached_loc_conf_t, upstream.local),
|
||||||
NULL },
|
NULL },
|
||||||
|
@ -231,7 +231,7 @@ static ngx_command_t ngx_http_proxy_commands[] = {
|
|||||||
|
|
||||||
{ ngx_string("proxy_bind"),
|
{ ngx_string("proxy_bind"),
|
||||||
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
|
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
|
||||||
ngx_http_upsteam_bind_set_slot,
|
ngx_http_upstream_bind_set_slot,
|
||||||
NGX_HTTP_LOC_CONF_OFFSET,
|
NGX_HTTP_LOC_CONF_OFFSET,
|
||||||
offsetof(ngx_http_proxy_loc_conf_t, upstream.local),
|
offsetof(ngx_http_proxy_loc_conf_t, upstream.local),
|
||||||
NULL },
|
NULL },
|
||||||
|
@ -4204,7 +4204,7 @@ ngx_http_upstream_add(ngx_conf_t *cf, ngx_url_t *u, ngx_uint_t flags)
|
|||||||
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
ngx_http_upsteam_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
|
ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
|
||||||
void *conf)
|
void *conf)
|
||||||
{
|
{
|
||||||
char *p = conf;
|
char *p = conf;
|
||||||
|
@ -323,7 +323,7 @@ ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r);
|
|||||||
void ngx_http_upstream_init(ngx_http_request_t *r);
|
void ngx_http_upstream_init(ngx_http_request_t *r);
|
||||||
ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf,
|
ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf,
|
||||||
ngx_url_t *u, ngx_uint_t flags);
|
ngx_url_t *u, ngx_uint_t flags);
|
||||||
char *ngx_http_upsteam_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
|
char *ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
|
||||||
void *conf);
|
void *conf);
|
||||||
ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf,
|
ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf,
|
||||||
ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev,
|
ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev,
|
||||||
|
Loading…
Reference in New Issue
Block a user