diff src/http/modules/proxy/ngx_http_proxy_handler.c @ 143:5526213be452

nginx-0.0.1-2003-10-10-19:10:50 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 10 Oct 2003 15:10:50 +0000
parents 656d468f4ead
children ef8c87afcfc5
line wrap: on
line diff
--- a/src/http/modules/proxy/ngx_http_proxy_handler.c	Thu Oct 09 07:00:45 2003 +0000
+++ b/src/http/modules/proxy/ngx_http_proxy_handler.c	Fri Oct 10 15:10:50 2003 +0000
@@ -1108,7 +1108,9 @@
     ctx = (ngx_http_conf_ctx_t *) cycle->conf_ctx[ngx_http_module.index];
     cmcf = ctx->main_conf[ngx_http_core_module.ctx_index];
 
-    ngx_test_null(h, ngx_push_array(&cmcf->translate_handlers), NGX_ERROR);
+    ngx_test_null(h, ngx_push_array(
+                             &cmcf->phases[NGX_HTTP_TRANSLATE_PHASE].handlers),
+                  NGX_ERROR);
 
     *h = ngx_http_proxy_translate_handler;