diff src/http/modules/ngx_http_fastcgi_module.c @ 896:f247db60fc85

fix fastcgi and memcached upstreams
author Igor Sysoev <igor@sysoev.ru>
date Mon, 11 Dec 2006 08:59:30 +0000
parents 4d68c486fcb0
children a0310ac2814f
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -2010,6 +2010,7 @@ ngx_http_fastcgi_pass(ngx_conf_t *cf, ng
     ngx_memzero(&u, sizeof(ngx_url_t));
 
     u.url = value[1];
+    u.upstream = 1;
     u.no_resolve = 1;
 
     lcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0);