Welcome! Log In Create A New Profile

Advanced

X-Accel-Redirect error:Value too large for defined data type

Kev Yau
February 03, 2010 01:26PM
Using REE 1.8.7, rails 2.3.5, with phusion passenger 2.2.9 and nginx
just setup X-Accel-Redirect, to replace the send_data and send_file
calls on our web app, however, we seem to be getting an error for pdf
and rtf documents which are greater than 10kb, Therefore pdf/rtf
downloads to the browser are incomplete and won't open.

The error logs showing in the nginx errors.log displays:
"(75: Value too large for defined data type in nginx error log)"

The pdf/rtf documents are no greater than around 350kb, hardly anything
at all.

tried declaring the "response.headers['Content-Size]" to the size of the
pdf/rtf and also in the nginx.conf, set the "client_max_body_size" to
50M.

Any ideas?
--
Posted via http://www.ruby-forum.com/.

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

X-Accel-Redirect error:Value too large for defined data type

Kev Yau February 03, 2010 01:26PM

Re: X-Accel-Redirect error:Value too large for defined data type

Kev Yau February 03, 2010 03:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 341
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