Displaying 7 results from an estimated 7 matches for "client_max_body_size".
2009 Jan 11
4
Large uploads with attchment-fu
Hi
I am trying to upload 30mb files with attachment-fu, these seem to
just hang. (works file for small image files)
I am using mongrel cluster and nginx...
Does anyone have any advice?
Thanks
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2010 Oct 22
4
502 bad gateway on nginx with recv() failed
Hi,
I''m serving the puppetmaster application with its config.ru through
unicorn - proxied by nginx.
I''m using unix sockets, 4 workers, and 2048 backlog.
The clients - after their typical "puppet run" - send back a report to
the master in YAML.
Some clients whose reports tend to be large (close to 2mb) get a 502
bad gateway error and error out.
nginx log:
2010/10/22
2011 Sep 16
3
Rainbows! or unicorn?
I''m putting together a small web frontend for a client to upload files into an existing application. It''s trivial - there will never be more than a (small) handful of concurrent connections, but I need a streaming rack.input for upload progress on files up to 500MB or so. I was planning on using Rainbows! with ThreadSpawn and worker_connections=1, then noticed that unicorn is
2013 Sep 23
0
400 bad request
...rails or from nginx. For first url, I
solved it in nginx conf
here part of my conf
access_log /var/log/nginx/gancx.access.log;
error_log /var/log/nginx/gancx.error.log;
client_body_in_file_only clean;
client_body_buffer_size 32K;
charset UTF-8;
source_charset UTF-8;
client_max_body_size 300M;
error_page 400 404 = @notfound;
error_page 500 502 504 = @server_error;
error_page 503 = @maintenance;
location @notfound {
rewrite ^(.*)$ $scheme://$host permanent;
}
location @server_error {
rewrite ^(.*)$ $scheme://$host permane...
2006 Dec 07
17
compress and max upload size?
I am using mongrel_cluster with mod_proxy_balancer and would like to
enable compression (assuming it improves throughtput) and limit file
size upload. I configured mod_deflate and LimitRequestSize in Apache,
but in my trials looks like the proxied calls bypass those directives
(the conf goes below).
Is there a way to get this?
-- fxn
# Adapt this .example locally, as usual.
#
# To be
2011 Jun 07
2
[PATCH] examples/nginx.conf: add ipv6only comment
...er. A dual-stack listener will make
+ # $remote_addr will make IPv4 addresses ugly (e.g ":ffff:10.0.0.1"
+ # instead of just "10.0.0.1") and potentially trigger bugs in
+ # some software.
+ # listen [::]:80 ipv6only=on; # deferred or accept_filter recommended
+
client_max_body_size 4G;
server_name _;
--
Eric Wong
2010 Sep 02
7
unable to upload larger files
hii,
i am trying to upload some files to filesystem using rails application
when i use small size file everything is perfect but i when goes for
larger files i got error
this is my code
#this model file
class DataFile < ActiveRecord::Base
def self.save(upload)
name = upload[''datafile''].original_filename
directory = "//192.168.147.17/Smruti/streams"
#