Commit 3fa38e1e

mo khan <mo@mokhan.ca>
2013-08-10 14:26:57
move file upload max size to the http block because it seems to work up there
1 parent 236f3bf
Changed files (1)
config
recipes
config/recipes/templates/nginx_unicorn.erb
@@ -2,6 +2,8 @@ upstream unicorn {
   server unix:<%= shared_path %>/sockets/unicorn.sock fail_timeout=0;
 }
 
+client_max_body_size 4G;
+
 server {
   listen 80 default deferred;
   # server_name *.cakeside.com
@@ -24,7 +26,6 @@ server {
   }
 
   error_page 500 502 503 504 /500.html;
-  client_max_body_size 4G;
   keepalive_timeout 10;
 }