passenger - nginx not accepting large body notwithstanding ample large body size -
a rails3.2.18 application via passenger , nginx generating in nginx log follows: 2014/10/20 00:31:36 [error] 85#0: *32 client intended send big body: 4066821 bytes, client: xx.xxx.xx.xxx, server: app3.iwant2go2.com, request: "post /bozzadocuments/1 http/1.1", host: "app3.iwant2go2.com", referrer: "http://app3.iwant2go2.com/bozzadocuments/1/edit"
the error registered after submission in log, browser getting response between 15 , 30 seconds later. /usr/local/etc/nginx/nginx.conf
file (osx 10.6) has been edited allow ample body_size
worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; client_body_in_file_only clean; client_body_buffer_size 32k; client_max_body_size 200m; sendfile on; #keepalive_timeout 0; keepalive_timeout 65; send_timeout 300s; #gzip on; # phusion passenger config passenger_root /usr/local/opt/passenger/libexec/lib/phusion_passenger/locations.ini; passenger_ruby /users/jeromepmmfcamus/.rvm/rubies/ruby-1.9.3-p547/bin/ruby; } }
where configuration going wrong?
i failed recall installation done via passenger.
passenger-install-nginx-module
this installs nginx.confs under /opt/
/opt/nginx/conf/nginx.conf
a clue have been examine contents of homebrew.mxcl.nginx.plist
... , 1 would've gotten there faster.
nginx passenger osx-snow-leopard
No comments:
Post a Comment