Forum: NGINX ignore 411 errors

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Da66a56107b535386a9daf538a3b1d7d?d=identicon&s=25 Joe Williams (zeusfaber)
on 2009-05-22 03:53
(Received via mailing list)
Is there anyway to ignore 411 errors? I am trying to proxy requests to
an upstream server and would like that server to deal with the 411's
rather than nginx. Is this possible?

Thanks.

-Joe
6d4a6e9574c15d11480db6d7e5eb2750?d=identicon&s=25 Delta Yeh (Guest)
on 2009-05-22 04:21
(Received via mailing list)
hmm, maybe you can use custom error page.

2009/5/22 Joe Williams <joe@joetify.com>
5640e332954fc0006aea97a155ce0afd?d=identicon&s=25 Igor Sysoev (Guest)
on 2009-05-22 09:27
(Received via mailing list)
On Thu, May 21, 2009 at 06:46:14PM -0700, Joe Williams wrote:

>
> Is there anyway to ignore 411 errors? I am trying to proxy requests to
> an upstream server and would like that server to deal with the 411's
> rather than nginx. Is this possible?

No, currently nginx can not proxy a chunked body.
Da66a56107b535386a9daf538a3b1d7d?d=identicon&s=25 Joe Williams (zeusfaber)
on 2009-05-22 17:14
(Received via mailing list)
Is there any plan for this in the future?

-Joe
5640e332954fc0006aea97a155ce0afd?d=identicon&s=25 Igor Sysoev (Guest)
on 2009-05-22 19:14
(Received via mailing list)
On Fri, May 22, 2009 at 08:05:51AM -0700, Joe Williams wrote:

> Is there any plan for this in the future?

Yes, there is a plan
1) to support chunked request body
2) and to proxy request body without buffering
Da66a56107b535386a9daf538a3b1d7d?d=identicon&s=25 Joe Williams (zeusfaber)
on 2009-05-22 19:40
(Received via mailing list)
Great! Thanks for the info, if it makes a difference I vote +1 for this.
:)

-Joe
This topic is locked and can not be replied to.