diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-03-10 14:37:18 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-03-10 14:37:18 +0000 |
commit | 931d88c7c1fa7ca9b39b1a7190a9cb647af771a0 (patch) | |
tree | 3a231633c0308554bf284282ee643d657bc1c61d /src | |
parent | 7e3fdc4e8eebb6a4fb8cf764a5320ce234aec3be (diff) | |
download | nginx-931d88c7c1fa7ca9b39b1a7190a9cb647af771a0.tar.gz nginx-931d88c7c1fa7ca9b39b1a7190a9cb647af771a0.zip |
fix proxy_redirect name in error message
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index a7f6e4931..7cb1cb8f2 100644 --- 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_t *cf) * 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, ngx_command_t *cmd, void *conf) 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; } |