fix proxy_redirect name in error message
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index a7f6e49..7cb1cb8 100644
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -1913,7 +1913,7 @@
* 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 @@
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;
}