nginx + mojo daemon + big response body

41 views
Skip to first unread message

Анатолий Шарифулин

unread,
Aug 17, 2010, 4:01:56 AM8/17/10
to mojol...@googlegroups.com
I use nginx and mojo daemon in deploy.

If a mojolicious app render big response (~ 50 kb), than nginx show part of data.
Nginx proxied requests over HTTP 1.0, without keepalive.

If Mojo replaced by Apache or Plackup, then nginx correctly show all the data.

How to make the Mojo daemon working with nginx correctly?


I try --keepalive 0 and --keepaliverequests 1, it doesn't work with nginx :(


--
С уважением,
 Анатолий Шарифулин.

Sebastian Riedel

unread,
Aug 17, 2010, 5:45:42 AM8/17/10
to mojol...@googlegroups.com
> If a mojolicious app render big response (~ 50 kb), than nginx show part of data.
> Nginx proxied requests over HTTP 1.0, without keepalive.

Keep alive or not shouldn't matter, no idea why it wouldn't work.

--
Sebastian Riedel
http://labs.kraih.com
http://mojolicious.org
http://twitter.com/kraih

Анатолий Шарифулин

unread,
Aug 18, 2010, 9:54:49 AM8/18/10
to mojol...@googlegroups.com
I wrote test http://gist.github.com/534788

# Looks like you failed 2 tests of 3.

I used the latest version of Mojolicious from github.com




--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.

Sebastian Riedel

unread,
Aug 18, 2010, 10:32:04 AM8/18/10
to mojol...@googlegroups.com
> I wrote test http://gist.github.com/534788
>
> # Looks like you failed 2 tests of 3.
>
> I used the latest version of Mojolicious from github.com

Works flawless here.

Анатолий Шарифулин

unread,
Aug 18, 2010, 10:47:06 AM8/18/10
to mojol...@googlegroups.com
Now ok. Thanks.

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.

Reply all
Reply to author
Forward
0 new messages