aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_fastcgi_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-11-27 13:34:13 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-11-27 13:34:13 +0000
commit96dd8af8e6e1f5525cce3dcb33c040a73e67f2c6 (patch)
tree7cfd92bc5c8894795bdb19a9ddf183538000e067 /src/http/modules/ngx_http_fastcgi_module.c
parent9683528550836a35cb24c61bf3fd99175bcbd82f (diff)
downloadnginx-96dd8af8e6e1f5525cce3dcb33c040a73e67f2c6.tar.gz
nginx-96dd8af8e6e1f5525cce3dcb33c040a73e67f2c6.zip
proxy_pass variables support
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index fb2578bf3..36c59ce4e 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -443,6 +443,8 @@ ngx_http_fastcgi_handler(ngx_http_request_t *r)
return NGX_HTTP_INTERNAL_SERVER_ERROR;
}
+ u->schema = flcf->upstream.schema;
+
u->peer.log = r->connection->log;
u->peer.log_error = NGX_ERROR_ERR;
#if (NGX_THREADS)
@@ -2171,8 +2173,6 @@ ngx_http_fastcgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
clcf->handler = ngx_http_fastcgi_handler;
- lcf->upstream.location = clcf->name;
-
if (clcf->name.data[clcf->name.len - 1] == '/') {
clcf->auto_redirect = 1;
}