Welcome! Log In Create A New Profile

Advanced

Re: upstream with fastcgi_pass

jack.wang ysh
April 07, 2011 11:28PM
I hook nginx code,than can resolve this problem,
like this:

diff -uNr nginx-0.8.54-from/src/http/modules/ngx_http_fastcgi_module.c
nginx-0.8.54-to/src/http/modules/ngx_http_fastcgi_module.c
--- nginx-0.8.54-from/src/http/modules/ngx_http_fastcgi_module.c
2010-08-03 21:35:48.000000000 +0800
+++ nginx-0.8.54-to/src/http/modules/ngx_http_fastcgi_module.c
2011-04-06 15:05:43.000000000 +0800
@@ -636,12 +636,12 @@
return NGX_ERROR;
}

- if (url.no_port) {
+ /* if (url.no_port) {
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
"no port in upstream \"%V\"", &url.url);
return NGX_ERROR;
}
-
+*/
u = r->upstream;

u->resolved = ngx_pcalloc(r->pool,
sizeof(ngx_http_upstream_resolved_t));

--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

upstream with fastcgi_pass

jack.wang ysh March 18, 2011 09:06AM

Re: upstream with fastcgi_pass

jack.wang ysh March 20, 2011 07:04AM

Re: upstream with fastcgi_pass

Splitice March 20, 2011 12:36PM

Re: upstream with fastcgi_pass

vt March 21, 2011 04:58AM

Re: upstream with fastcgi_pass

msingla April 02, 2011 10:11PM

Re: upstream with fastcgi_pass

msingla April 02, 2011 10:14PM

Re: upstream with fastcgi_pass

msingla April 03, 2011 03:22AM

Re: upstream with fastcgi_pass

jack.wang ysh April 07, 2011 11:28PM

Re: upstream with fastcgi_pass

msingla April 11, 2011 01:34PM

Re: upstream with fastcgi_pass

Igor Sysoev April 11, 2011 01:44PM

Re: upstream with fastcgi_pass

msingla April 11, 2011 04:45PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 261
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready