Mercurial > hg > nginx
changeset 3470:b982f2dee8cf
fix proxy_redirect name in error message
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 10 Mar 2010 14:37:18 +0000 |
parents | 08a66ba99191 |
children | d8c56e7851b8 |
files | src/http/modules/ngx_http_proxy_module.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -1913,7 +1913,7 @@ ngx_http_proxy_create_loc_conf(ngx_conf_ * conf->body_set_len = NULL; * conf->body_set = NULL; * conf->body_source = { 0, NULL }; - * conf->rewrite_locations = NULL; + * conf->redirects = NULL; */ conf->upstream.store = NGX_CONF_UNSET; @@ -2756,7 +2756,7 @@ ngx_http_proxy_redirect(ngx_conf_t *cf, if (ngx_strcmp(value[1].data, "default") == 0) { if (plcf->url.data == NULL) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, - "\"proxy_rewrite_location default\" must go " + "\"proxy_redirect default\" must go " "after the \"proxy_pass\" directive"); return NGX_CONF_ERROR; }