Welcome! Log In Create A New Profile

Advanced

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

October 29, 2011 05:17PM
Спасибо! У меня на тесте работает. следующее "решение" для passenger:

--- a/ext/nginx/ContentHandler.c.orig 2011-10-19 22:44:40.000000000 +0400
+++ b/ext/nginx/ContentHandler.c 2011-10-30 00:58:06.700129856 +0400
@@ -920,6 +920,7 @@
}

u = r->upstream;
+ u->headers_in.content_length_n = r->headers_out.content_length_n;

if (rc == NGX_HTTP_SCGI_PARSE_NO_HEADER) {
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
@@ -984,6 +985,7 @@
} state;

u = r->upstream;
+ u->headers_in.content_length_n = r->headers_out.content_length_n;

state = r->state;

@@ -1409,6 +1411,7 @@
/* Setup upstream stuff and prepare sending the request to the backend. */

u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));
+ u->headers_in.content_length_n = r->headers_out.content_length_n;
if (u == NULL) {
return NGX_HTTP_INTERNAL_SERVER_ERROR;
}
Subject Author Posted

NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

Мисбах-Соловьëв Вадим October 22, 2011 02:36PM

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

Мисбах-Соловьëв Вадим October 22, 2011 11:30PM

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

Maxim Dounin October 23, 2011 12:14PM

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

mva October 23, 2011 12:24PM

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

Maxim Dounin October 23, 2011 12:44PM

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

perestoronin October 23, 2011 05:14PM

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

perestoronin October 29, 2011 03:15PM

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

Maxim Dounin October 29, 2011 03:22PM

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

perestoronin October 29, 2011 03:27PM

Re: NginX-1.1.4 + Passenger (3.0.7, 3.0.9) + Rails3

perestoronin October 29, 2011 05:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready